|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 | |
|---|---|
java.lang.String |
getPrefix(java.lang.String uri)
Returns the prefix which is mapped to the given URI. |
java.lang.String |
getURI(java.lang.String prefix)
Returns the URI to which the given prefix is mapped. |
java.lang.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 java.lang.String getURI(java.lang.String prefix)
throws javax.jcr.NamespaceException
getURI in interface NamespaceResolverprefix - namespace prefix
javax.jcr.NamespaceException - if the prefix is unknown.
public java.lang.String getPrefix(java.lang.String uri)
throws javax.jcr.NamespaceException
getPrefix in interface NamespaceResolveruri - namespace URI
javax.jcr.NamespaceException - if the URI is unknown.
public java.lang.String translatePropertyName(Name qName)
throws IllegalNameException
translatePropertyName in interface NamespaceMappingsqName - the property name to translate
IllegalNameException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||