public interface NamespaceMappings extends NamespaceResolver
NamespaceMappings
holds a namespace mapping that is
used internally in the search index. Storing paths with the full uri of a
namespace would require too much space in the search index.Modifier and Type | Method and Description |
---|---|
String |
translateName(Name name)
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.
|
getPrefix, getURI
String translateName(Name name) throws IllegalNameException
name
- the name to translateIllegalNameException
- if the name cannot be translated.String translatePath(Path path) throws IllegalNameException
path
- the path to translateIllegalNameException
- if the name cannot be translated.Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.