Remote version of the JCR
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.
@Deprecated public interface RemoteNamespaceRegistry extends Remote
Modifier and Type | Method and Description |
---|---|
String |
getPrefix(String uri)
Deprecated.
Remote version of the
NamespaceRegistry.getPrefix(String)
method. |
String[] |
getPrefixes()
Deprecated.
Remote version of the
NamespaceRegistry.getPrefixes()
method. |
String |
getURI(String prefix)
Deprecated.
Remote version of the
NamespaceRegistry.getURI(String)
method. |
String[] |
getURIs()
Deprecated.
Remote version of the
NamespaceRegistry,getURIs()
method. |
void |
registerNamespace(String prefix,
String uri)
Deprecated.
Remote version of the
NamespaceRegistry.registerNamespace(String,String)
method. |
void |
unregisterNamespace(String prefix)
Deprecated.
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–2024 The Apache Software Foundation. All rights reserved.