Package org.alfresco.repo.dictionary
Interface NamespaceDAO
-
- All Superinterfaces:
NamespacePrefixResolver
- All Known Implementing Classes:
DictionaryDAOImpl
public interface NamespaceDAO extends NamespacePrefixResolver
Namespace DAO Interface. This DAO is responsible for retrieving and creating Namespace definitions.- Author:
- David Caruana
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addPrefix(String prefix, String uri)
Add a namespace prefixvoid
addURI(String uri)
Add a namespace URIvoid
removePrefix(String prefix)
Remove a namspace prefixvoid
removeURI(String uri)
Remove the specified URI-
Methods inherited from interface org.alfresco.service.namespace.NamespacePrefixResolver
getNamespaceURI, getPrefixes, getPrefixes, getURIs
-
-
-
-
Method Detail
-
addURI
void addURI(String uri)
Add a namespace URI- Parameters:
uri
- the namespace uri to add
-
removeURI
void removeURI(String uri)
Remove the specified URI- Parameters:
uri
- the uri to remove
-
addPrefix
void addPrefix(String prefix, String uri)
Add a namespace prefix- Parameters:
prefix
- the prefixuri
- the uri to prefix
-
removePrefix
void removePrefix(String prefix)
Remove a namspace prefix- Parameters:
prefix
- the prefix to remove
-
-