private static class XMLAssert.NodeBasedNamespaceContext extends java.lang.Object implements NamespaceContext
Modifier and Type | Field and Description |
---|---|
private org.w3c.dom.Node |
node |
Constructor and Description |
---|
NodeBasedNamespaceContext(org.w3c.dom.Node n) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getNamespaceURI(java.lang.String prefix)
Obtain the URI for a given prefix.
|
java.util.Iterator |
getPrefixes()
Get all prefixes of this context.
|
public java.lang.String getNamespaceURI(java.lang.String prefix)
NamespaceContext
Unlike the method in javax.xml.namespace.NamespaceContext doesn't have to implement any special handling for predefined prefix values.
getNamespaceURI
in interface NamespaceContext
public java.util.Iterator getPrefixes()
NamespaceContext
getPrefixes
in interface NamespaceContext