|
||||||||||
| 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
inteface. 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 factory| Method Detail |
|---|
public void registerNamespace(String prefix,
String uri)
throws RepositoryException
registerNamespace in interface NamespaceRegistryRepositoryException
public void unregisterNamespace(String prefix)
throws RepositoryException
unregisterNamespace in interface NamespaceRegistryRepositoryException
public String[] getPrefixes()
throws RepositoryException
getPrefixes in interface NamespaceRegistryRepositoryException
public String[] getURIs()
throws RepositoryException
getURIs in interface NamespaceRegistryRepositoryException
public String getURI(String prefix)
throws RepositoryException
getURI in interface NamespaceRegistryRepositoryException
public String getPrefix(String uri)
throws RepositoryException
getPrefix in interface NamespaceRegistryRepositoryException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||