public final class DOM2Helper
extends java.lang.Object
Constructor and Description |
---|
DOM2Helper()
Construct an instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLocalNameOfNode(org.w3c.dom.Node n)
Returns the local name of the given node, as defined by the
XML Namespaces specification.
|
java.lang.String |
getNamespaceOfNode(org.w3c.dom.Node n)
Returns the Namespace Name (Namespace URI) for the given node.
|
public java.lang.String getLocalNameOfNode(org.w3c.dom.Node n)
n
- Node to be examinedpublic java.lang.String getNamespaceOfNode(org.w3c.dom.Node n)
TODO: Reconcile with getLocalNameOfNode.
n
- Node to be examinedCopyright © 2014 Apache XML Project. All Rights Reserved.