org.alfresco.service.namespace
Interface NamespacePrefixResolver
All Known Subinterfaces:
-
public interface NamespacePrefixResolver
The NamespacePrefixResolver
provides a mapping between
namespace prefixes and namespace URIs.
Author:
-
David Caruana
getNamespaceURI
-
Gets the namespace URI registered for the given prefix
Parameters:
-
prefix - prefix to lookup
Returns:
-
the namespace
Throws:
-
getPrefixes
-
Gets the registered prefixes for the given namespace URI
Parameters:
-
namespaceURI - namespace URI to lookup
Returns:
-
the prefixes (or empty collection, if no prefixes registered against URI)
Throws:
-
getPrefixes
-
Gets all registered Prefixes
Returns:
-
collection of all registered namespace prefixes
getURIs
-
Gets all registered Uris
Returns:
-
collection of all registered namespace uris