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