|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.rmi.client.ClientObject
org.apache.jackrabbit.rmi.client.ClientNamespaceRegistry
public class ClientNamespaceRegistry
Local adapter for the JCR-RMI
RemoteNamespaceRegistry
interface. This class makes a remote namespace registry locally available
using the JCR NamespaceRegistry
interface.
NamespaceRegistry
,
RemoteNamespaceRegistry
Constructor Summary | |
---|---|
ClientNamespaceRegistry(RemoteNamespaceRegistry remote,
LocalAdapterFactory factory)
Creates a local adapter for the given remote namespace registry. |
Method Summary | |
---|---|
String |
getPrefix(String uri)
|
String[] |
getPrefixes()
|
String |
getURI(String prefix)
|
String[] |
getURIs()
|
void |
registerNamespace(String prefix,
String uri)
|
void |
unregisterNamespace(String prefix)
|
Methods inherited from class org.apache.jackrabbit.rmi.client.ClientObject |
---|
getFactory, getItem, getNode, getNodeTypeArray |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClientNamespaceRegistry(RemoteNamespaceRegistry remote, LocalAdapterFactory factory)
remote
- remote namespace registryfactory
- local adapter factoryMethod Detail |
---|
public void registerNamespace(String prefix, String uri) throws RepositoryException
registerNamespace
in interface NamespaceRegistry
RepositoryException
public void unregisterNamespace(String prefix) throws RepositoryException
unregisterNamespace
in interface NamespaceRegistry
RepositoryException
public String[] getPrefixes() throws RepositoryException
getPrefixes
in interface NamespaceRegistry
RepositoryException
public String[] getURIs() throws RepositoryException
getURIs
in interface NamespaceRegistry
RepositoryException
public String getURI(String prefix) throws RepositoryException
getURI
in interface NamespaceRegistry
RepositoryException
public String getPrefix(String uri) throws RepositoryException
getPrefix
in interface NamespaceRegistry
RepositoryException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |