Class DOMNamespaceContext

java.lang.Object
org.apache.xml.security.utils.DOMNamespaceContext
All Implemented Interfaces:
NamespaceContext

public class DOMNamespaceContext extends Object implements NamespaceContext
This class adapts the Node namespace/prefix lookup API to that of NamespaceContext. There are some differences:
Function NamespaceContext API Node API
Look up the prefix for a given namespace URI. NamespaceContext.getPrefix(String) Node.lookupPrefix(String)
Look up all the prefixes for a given namespace URI. NamespaceContext.getPrefixes(String) /
Look up the namespace URI for a given prefix. NamespaceContext.getNamespaceURI(String) Node.lookupNamespaceURI(String)
The default prefix. XMLConstants.DEFAULT_NS_PREFIX null
The default namespace URI. XMLConstants.NULL_NS_URI null