|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.name.AbstractNamespaceResolver
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(String name,
NamespaceResolver resolver)
Translates a property name from a session local namespace mapping into a search index private namespace mapping. |
| Methods inherited from class org.apache.jackrabbit.name.AbstractNamespaceResolver |
|---|
addListener, getJCRName, getQName, notifyNamespaceAdded, notifyNamespaceRemapped, notifyNamespaceRemoved, removeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.jackrabbit.name.NamespaceResolver |
|---|
getJCRName, getQName |
| Method Detail |
|---|
public String getURI(String prefix)
throws NamespaceException
getURI in interface NamespaceResolverprefix - namespace prefix
NamespaceException - if the prefix is unknown.
public String getPrefix(String uri)
throws NamespaceException
getPrefix in interface NamespaceResolveruri - namespace URI
NamespaceException - if the URI is unknown.
public String translatePropertyName(String name,
NamespaceResolver resolver)
throws IllegalNameException,
UnknownPrefixException
translatePropertyName in interface NamespaceMappingsname - the property name to translateresolver - the NamespaceResolver of the local session.
IllegalNameException
UnknownPrefixException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||