|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.base.BaseNamespaceRegistry
NamespaceRegistry base class.
Constructor Summary | |
protected |
BaseNamespaceRegistry()
Protected constructor. |
Method Summary | |
String |
getPrefix(String uri)
Implemented by calling getPrefixes() and iterating
over the returned prefixes to find the prefix for which
getURI(prefix) returns the given namespace URI. |
String[] |
getPrefixes()
Not implemented. |
String |
getURI(String prefix)
Not implemented. |
String[] |
getURIs()
Implemented by calling getPrefixes() and
mapping all returned prefixes into namespace URIs using
getURI(prefix) . |
void |
registerNamespace(String prefix,
String uri)
Not implemented. |
void |
unregisterNamespace(String prefix)
Not implemented. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected BaseNamespaceRegistry()
Method Detail |
public void registerNamespace(String prefix, String uri) throws NamespaceException, UnsupportedRepositoryOperationException, RepositoryException
registerNamespace
in interface NamespaceRegistry
NamespaceException
UnsupportedRepositoryOperationException
RepositoryException
public void unregisterNamespace(String prefix) throws NamespaceException, UnsupportedRepositoryOperationException, RepositoryException
unregisterNamespace
in interface NamespaceRegistry
NamespaceException
UnsupportedRepositoryOperationException
RepositoryException
public String[] getPrefixes() throws RepositoryException
getPrefixes
in interface NamespaceRegistry
RepositoryException
public String[] getURIs() throws RepositoryException
getPrefixes()
and
mapping all returned prefixes into namespace URIs using
getURI(prefix)
.
getURIs
in interface NamespaceRegistry
RepositoryException
public String getURI(String prefix) throws NamespaceException, RepositoryException
getURI
in interface NamespaceRegistry
NamespaceException
RepositoryException
public String getPrefix(String uri) throws NamespaceException, RepositoryException
getPrefixes()
and iterating
over the returned prefixes to find the prefix for which
getURI(prefix)
returns the given namespace URI.
getPrefix
in interface NamespaceRegistry
NamespaceException
RepositoryException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |