public interface RemoteNamespaceRegistry extends Remote
NamespaceRegistry
interface.
Used by the
ServerNamespaceRegistry
and
ClientNamespaceRegistry
adapters to provide transparent RMI access to remote namespace registries.
The methods in this interface are documented only with a reference to a corresponding NamespaceRegistry method. The remote object will simply forward the method call to the underlying NamespaceRegistry instance. Argument and return values, as well as possible exceptions, are copied over the network. RMI errors are signaled with RemoteExceptions.
NamespaceRegistry
,
ClientNamespaceRegistry
,
ServerNamespaceRegistry
Modifier and Type | Method and Description |
---|---|
String |
getPrefix(String uri)
Remote version of the
NamespaceRegistry.getPrefix(String)
method. |
String[] |
getPrefixes()
Remote version of the
NamespaceRegistry.getPrefixes()
method. |
String |
getURI(String prefix)
Remote version of the
NamespaceRegistry.getURI(String)
method. |
String[] |
getURIs()
Remote version of the
NamespaceRegistry,getURIs()
method. |
void |
registerNamespace(String prefix,
String uri)
Remote version of the
NamespaceRegistry.registerNamespace(String,String)
method. |
void |
unregisterNamespace(String prefix)
Remote version of the
NamespaceRegistry.unregisterNamespace(String)
method. |
void registerNamespace(String prefix, String uri) throws javax.jcr.RepositoryException, RemoteException
NamespaceRegistry.registerNamespace(String,String)
method.prefix
- namespace prefixuri
- namespace urijavax.jcr.RepositoryException
- on repository errorsRemoteException
- on RMI errorsvoid unregisterNamespace(String prefix) throws javax.jcr.RepositoryException, RemoteException
NamespaceRegistry.unregisterNamespace(String)
method.prefix
- namespace prefixjavax.jcr.RepositoryException
- on repository errorsRemoteException
- on RMI errorsString[] getPrefixes() throws javax.jcr.RepositoryException, RemoteException
NamespaceRegistry.getPrefixes()
method.javax.jcr.RepositoryException
- on repository errorsRemoteException
- on RMI errorsString[] getURIs() throws javax.jcr.RepositoryException, RemoteException
NamespaceRegistry,getURIs()
method.javax.jcr.RepositoryException
- on repository errorsRemoteException
- on RMI errorsString getURI(String prefix) throws javax.jcr.RepositoryException, RemoteException
NamespaceRegistry.getURI(String)
method.prefix
- namespace prefixjavax.jcr.RepositoryException
- on repository errorsRemoteException
- on RMI errorsString getPrefix(String uri) throws javax.jcr.RepositoryException, RemoteException
NamespaceRegistry.getPrefix(String)
method.uri
- namespace urijavax.jcr.RepositoryException
- on repository errorsRemoteException
- on RMI errorsCopyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.