public class SimpleNamespaceContext
extends java.lang.Object
implements javax.xml.namespace.NamespaceContext
Constructor and Description |
---|
SimpleNamespaceContext() |
SimpleNamespaceContext(javax.xml.xpath.XPath xpath) |
Modifier and Type | Method and Description |
---|---|
void |
addPrefix(java.lang.String prefix,
java.lang.String namespaceURI) |
java.lang.String |
getNamespaceURI(java.lang.String prefix) |
java.lang.String |
getPrefix(java.lang.String namespaceURI) |
java.util.Iterator |
getPrefixes(java.lang.String namespaceURI) |
javax.xml.xpath.XPath |
getXPath() |
public SimpleNamespaceContext()
public SimpleNamespaceContext(javax.xml.xpath.XPath xpath)
public javax.xml.xpath.XPath getXPath()
public void addPrefix(java.lang.String prefix, java.lang.String namespaceURI)
public java.lang.String getNamespaceURI(java.lang.String prefix)
getNamespaceURI
in interface javax.xml.namespace.NamespaceContext
public java.lang.String getPrefix(java.lang.String namespaceURI)
getPrefix
in interface javax.xml.namespace.NamespaceContext
public java.util.Iterator getPrefixes(java.lang.String namespaceURI)
getPrefixes
in interface javax.xml.namespace.NamespaceContext