Package org.cip4.lib.xjdf.xml.internal
Class NamespaceManager
java.lang.Object
org.cip4.lib.xjdf.xml.internal.NamespaceManager
- All Implemented Interfaces:
NamespaceContext
Implementation of the NamespaceContext.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddNamespace(String prefix, String uri) Append new namespace.getNamespaceURI(String prefix) getPrefixes(String namespaceURI)
-
Constructor Details
-
NamespaceManager
public NamespaceManager()Default constructor.
-
-
Method Details
-
addNamespace
Append new namespace.- Parameters:
prefix- Prefix for namespace.uri- URI of namespace.
-
getNamespaceURI
- Specified by:
getNamespaceURIin interfaceNamespaceContext- See Also:
-
getPrefix
- Specified by:
getPrefixin interfaceNamespaceContext- See Also:
-
getPrefixes
- Specified by:
getPrefixesin interfaceNamespaceContext- See Also:
-