public abstract class AbstractNamespaceMappings extends Object implements NamespaceMappings, org.apache.jackrabbit.spi.commons.namespace.NamespaceResolver
AbstractNamespaceMappings is the base class for index internal
namespace mappings.| Constructor and Description |
|---|
AbstractNamespaceMappings() |
| Modifier and Type | Method and Description |
|---|---|
String |
translateName(org.apache.jackrabbit.spi.Name qName)
Translates a name from a session local namespace mapping into a search
index private namespace mapping.
|
String |
translatePath(org.apache.jackrabbit.spi.Path path)
Translates a path into a search index private namespace mapping.
|
public String translateName(org.apache.jackrabbit.spi.Name qName) throws org.apache.jackrabbit.spi.commons.conversion.IllegalNameException
translateName in interface NamespaceMappingsqName - the name to translateorg.apache.jackrabbit.spi.commons.conversion.IllegalNameException - if the name cannot be translated.public String translatePath(org.apache.jackrabbit.spi.Path path) throws org.apache.jackrabbit.spi.commons.conversion.IllegalNameException
translatePath in interface NamespaceMappingspath - the path to translateorg.apache.jackrabbit.spi.commons.conversion.IllegalNameException - if the name cannot be translated.Copyright © 2004–2018 The Apache Software Foundation. All rights reserved.