public abstract class ReadWriteNamespaceRegistry extends ReadOnlyNamespaceRegistry
NAMESPACE_EMPTY, NAMESPACE_JCR, NAMESPACE_MIX, NAMESPACE_NT, NAMESPACE_XML, PREFIX_EMPTY, PREFIX_JCR, PREFIX_MIX, PREFIX_NT, PREFIX_XML
NAMESPACE_OAK, NAMESPACE_REP, NAMESPACE_SV, NAMESPACE_XMLNS, NAMESPACES_PATH, PREFIX_OAK, PREFIX_REP, PREFIX_SV, PREFIX_XMLNS, REP_NAMESPACES, REP_NSDATA, REP_PREFIXES, REP_URIS, RESERVED_PREFIXES, RESERVED_URIS
Constructor and Description |
---|
ReadWriteNamespaceRegistry(Root root) |
Modifier and Type | Method and Description |
---|---|
void |
registerNamespace(java.lang.String prefix,
java.lang.String uri) |
void |
unregisterNamespace(java.lang.String prefix) |
getPrefix, getPrefixes, getURI, getURIs
public ReadWriteNamespaceRegistry(Root root)
public void registerNamespace(java.lang.String prefix, java.lang.String uri) throws RepositoryException
registerNamespace
in interface NamespaceRegistry
registerNamespace
in class ReadOnlyNamespaceRegistry
RepositoryException
public void unregisterNamespace(java.lang.String prefix) throws RepositoryException
unregisterNamespace
in interface NamespaceRegistry
unregisterNamespace
in class ReadOnlyNamespaceRegistry
RepositoryException
Copyright © 2010 - 2020 Adobe. All Rights Reserved