public abstract class AbstractNamespaceMappings extends Object implements NamespaceMappings, NamespaceResolver
AbstractNamespaceMappings
is the base class for index internal
namespace mappings.Constructor and Description |
---|
AbstractNamespaceMappings() |
Modifier and Type | Method and Description |
---|---|
String |
translateName(Name qName)
Translates a name from a session local namespace mapping into a search
index private namespace mapping.
|
String |
translatePath(Path path)
Translates a path into a search index private namespace mapping.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPrefix, getURI
public String translateName(Name qName) throws IllegalNameException
translateName
in interface NamespaceMappings
qName
- the name to translateIllegalNameException
- if the name cannot be translated.public String translatePath(Path path) throws IllegalNameException
translatePath
in interface NamespaceMappings
path
- the path to translateIllegalNameException
- if the name cannot be translated.Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.