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.
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 RepositoryException, RemoteException
NamespaceRegistry.registerNamespace(String,String)
method.prefix
- namespace prefixuri
- namespace uriRepositoryException
- on repository errorsRemoteException
- on RMI errorsvoid unregisterNamespace(String prefix) throws RepositoryException, RemoteException
NamespaceRegistry.unregisterNamespace(String)
method.prefix
- namespace prefixRepositoryException
- on repository errorsRemoteException
- on RMI errorsString[] getPrefixes() throws RepositoryException, RemoteException
NamespaceRegistry.getPrefixes()
method.RepositoryException
- on repository errorsRemoteException
- on RMI errorsString[] getURIs() throws RepositoryException, RemoteException
NamespaceRegistry,getURIs()
method.RepositoryException
- on repository errorsRemoteException
- on RMI errorsString getURI(String prefix) throws RepositoryException, RemoteException
NamespaceRegistry.getURI(String)
method.prefix
- namespace prefixRepositoryException
- on repository errorsRemoteException
- on RMI errorsString getPrefix(String uri) throws RepositoryException, RemoteException
NamespaceRegistry.getPrefix(String)
method.uri
- namespace uriRepositoryException
- on repository errorsRemoteException
- on RMI errorsCopyright © 2004–2021 The Apache Software Foundation. All rights reserved.