public class ProxyNamespaceRegistry extends Object implements javax.jcr.NamespaceRegistry
| Constructor and Description |
|---|
ProxyNamespaceRegistry(javax.jcr.NamespaceRegistry jcr,
javax.jcr.NamespaceRegistry mount) |
| Modifier and Type | Method and Description |
|---|---|
String |
getPrefix(String uri) |
String[] |
getPrefixes() |
String |
getURI(String prefix) |
String[] |
getURIs() |
void |
registerNamespace(String prefix,
String uri) |
void |
unregisterNamespace(String prefix) |
public ProxyNamespaceRegistry(javax.jcr.NamespaceRegistry jcr,
javax.jcr.NamespaceRegistry mount)
public void registerNamespace(String prefix, String uri) throws javax.jcr.NamespaceException, javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.AccessDeniedException, javax.jcr.RepositoryException
registerNamespace in interface javax.jcr.NamespaceRegistryjavax.jcr.NamespaceExceptionjavax.jcr.UnsupportedRepositoryOperationExceptionjavax.jcr.AccessDeniedExceptionjavax.jcr.RepositoryExceptionpublic void unregisterNamespace(String prefix) throws javax.jcr.NamespaceException, javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.AccessDeniedException, javax.jcr.RepositoryException
unregisterNamespace in interface javax.jcr.NamespaceRegistryjavax.jcr.NamespaceExceptionjavax.jcr.UnsupportedRepositoryOperationExceptionjavax.jcr.AccessDeniedExceptionjavax.jcr.RepositoryExceptionpublic String[] getPrefixes() throws javax.jcr.RepositoryException
getPrefixes in interface javax.jcr.NamespaceRegistryjavax.jcr.RepositoryExceptionpublic String[] getURIs() throws javax.jcr.RepositoryException
getURIs in interface javax.jcr.NamespaceRegistryjavax.jcr.RepositoryExceptionpublic String getURI(String prefix) throws javax.jcr.NamespaceException, javax.jcr.RepositoryException
getURI in interface javax.jcr.NamespaceRegistryjavax.jcr.NamespaceExceptionjavax.jcr.RepositoryExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.