|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jackrabbit.name.AbstractNamespaceResolver org.apache.jackrabbit.name.SessionNamespaceResolver
public class SessionNamespaceResolver
helper class that exposes the NamespaceResolver
interface on a Session
Constructor Summary | |
---|---|
SessionNamespaceResolver(Session session)
Deprecated. Creates a new namespace resolver based on a session |
Method Summary | |
---|---|
String |
getPrefix(String uri)
Deprecated. Returns the prefix which is mapped to the given URI. |
String |
getURI(String prefix)
Deprecated. Returns the URI to which the given prefix is mapped. |
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 |
Constructor Detail |
---|
public SessionNamespaceResolver(Session session)
session
- Method Detail |
---|
public String getPrefix(String uri) throws NamespaceException
uri
- namespace URI
NamespaceException
- if the URI is unknown.public String getURI(String prefix) throws NamespaceException
prefix
- namespace prefix
NamespaceException
- if the prefix is unknown.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |