mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Merge from HEAD into WCM-DEV2. Also fixes build breakage in
jndi-client and catalina-virtual that I introduced earlier. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3393 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -18,6 +18,8 @@ package org.alfresco.service.namespace;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
import org.alfresco.service.Auditable;
|
||||
|
||||
/**
|
||||
* The <code>NamespacePrefixResolver</code> provides a mapping between
|
||||
* namespace prefixes and namespace URIs.
|
||||
@@ -33,6 +35,7 @@ public interface NamespacePrefixResolver
|
||||
* @return the namespace
|
||||
* @throws NamespaceException if prefix has not been registered
|
||||
*/
|
||||
@Auditable(parameters = {"prefix"})
|
||||
public String getNamespaceURI(String prefix)
|
||||
throws NamespaceException;
|
||||
|
||||
@@ -43,6 +46,7 @@ public interface NamespacePrefixResolver
|
||||
* @return the prefixes (or empty collection, if no prefixes registered against URI)
|
||||
* @throws NamespaceException if URI has not been registered
|
||||
*/
|
||||
@Auditable(parameters = {"namespaceURI"})
|
||||
public Collection<String> getPrefixes(String namespaceURI)
|
||||
throws NamespaceException;
|
||||
|
||||
@@ -51,6 +55,7 @@ public interface NamespacePrefixResolver
|
||||
*
|
||||
* @return collection of all registered namespace prefixes
|
||||
*/
|
||||
@Auditable
|
||||
Collection<String> getPrefixes();
|
||||
|
||||
/**
|
||||
@@ -58,6 +63,7 @@ public interface NamespacePrefixResolver
|
||||
*
|
||||
* @return collection of all registered namespace uris
|
||||
*/
|
||||
@Auditable
|
||||
Collection<String> getURIs();
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user