@AlfrescoPublicApi
public interface NamespacePrefixResolver
NamespacePrefixResolver
provides a mapping between
namespace prefixes and namespace URIs.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getNamespaceURI(java.lang.String prefix)
Gets the namespace URI registered for the given prefix
|
java.util.Collection |
getPrefixes()
Gets all registered Prefixes
|
java.util.Collection |
getPrefixes(java.lang.String namespaceURI)
Gets the registered prefixes for the given namespace URI
|
java.util.Collection |
getURIs()
Gets all registered Uris
|
@Auditable(parameters="prefix") java.lang.String getNamespaceURI(java.lang.String prefix) throws NamespaceException
prefix
- prefix to lookupNamespaceException
- if prefix has not been registered@Auditable(parameters="namespaceURI") java.util.Collection getPrefixes(java.lang.String namespaceURI) throws NamespaceException
namespaceURI
- namespace URI to lookupNamespaceException
- if URI has not been registered@Auditable java.util.Collection getPrefixes()
@Auditable java.util.Collection getURIs()
Copyright © 2005 - 2013 Alfresco Software, Inc. All Rights Reserved.