|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jackrabbit.core.query.lucene.NSRegistryBasedNamespaceMappings
public class NSRegistryBasedNamespaceMappings
NSRegistryBasedNamespaceMappings
implements a namespace mapping
based on the stable index prefix provided by the namespace registry.
Method Summary | |
---|---|
String |
getPrefix(String uri)
Returns the prefix which is mapped to the given URI. |
String |
getURI(String prefix)
Returns the URI to which the given prefix is mapped. |
String |
translatePropertyName(Name qName)
Translates a property name from a session local namespace mapping into a search index private namespace mapping. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public String getURI(String prefix) throws NamespaceException
getURI
in interface NamespaceResolver
prefix
- namespace prefix
NamespaceException
- if the prefix is unknown.public String getPrefix(String uri) throws NamespaceException
getPrefix
in interface NamespaceResolver
uri
- namespace URI
NamespaceException
- if the URI is unknown.public String translatePropertyName(Name qName) throws IllegalNameException
translatePropertyName
in interface NamespaceMappings
qName
- the property name to translate
IllegalNameException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |