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.NamespaceRegistry
javax.jcr.NamespaceException
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.AccessDeniedException
javax.jcr.RepositoryException
public void unregisterNamespace(String prefix) throws javax.jcr.NamespaceException, javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.AccessDeniedException, javax.jcr.RepositoryException
unregisterNamespace
in interface javax.jcr.NamespaceRegistry
javax.jcr.NamespaceException
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.AccessDeniedException
javax.jcr.RepositoryException
public String[] getPrefixes() throws javax.jcr.RepositoryException
getPrefixes
in interface javax.jcr.NamespaceRegistry
javax.jcr.RepositoryException
public String[] getURIs() throws javax.jcr.RepositoryException
getURIs
in interface javax.jcr.NamespaceRegistry
javax.jcr.RepositoryException
public String getURI(String prefix) throws javax.jcr.NamespaceException, javax.jcr.RepositoryException
getURI
in interface javax.jcr.NamespaceRegistry
javax.jcr.NamespaceException
javax.jcr.RepositoryException
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.