Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

org.alfresco.service.namespace
Interface NamespacePrefixResolver
All Known Subinterfaces:
NamespaceService

@org.alfresco.api.AlfrescoPublicApi
public interface NamespacePrefixResolver
The NamespacePrefixResolver provides a mapping between namespace prefixes and namespace URIs.
Author:
David Caruana

Method Summary
getNamespaceURI(String prefix)
          Gets the namespace URI registered for the given prefix
getPrefixes()
          Gets all registered Prefixes
getPrefixes(String namespaceURI)
          Gets the registered prefixes for the given namespace URI
getURIs()
          Gets all registered Uris
Method Detail
getNamespaceURI
@Auditable(parameters="prefix")
String getNamespaceURI(String prefix)
                throws NamespaceException
Gets the namespace URI registered for the given prefix
Parameters:
prefix - prefix to lookup
Returns:
the namespace
Throws:
NamespaceException - if prefix has not been registered

getPrefixes
@Auditable(parameters="namespaceURI")
Collection<StringgetPrefixes(String namespaceURI)
                        throws NamespaceException
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:
NamespaceException - if URI has not been registered

getPrefixes
@Auditable
Collection<StringgetPrefixes()
Gets all registered Prefixes
Returns:
collection of all registered namespace prefixes

getURIs
@Auditable
Collection<StringgetURIs()
Gets all registered Uris
Returns:
collection of all registered namespace uris

Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005–2018 Alfresco Software. All rights reserved.

Java API documentation generated with DocFlex/Javadoc 1.6.1 using JavadocPro template set.