public final class XPathUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
queryForIndexField(org.w3c.dom.Node node,
java.lang.String xpath,
org.w3c.dom.Node namespaceNode,
java.lang.String separator)
Queries for index field.
|
static void |
removeNodesByXPath(org.w3c.dom.Node node,
java.lang.String xpath,
org.w3c.dom.Node namespaceNode)
Removes nodes by XPath.
|
public static java.lang.Object queryForIndexField(org.w3c.dom.Node node, java.lang.String xpath, org.w3c.dom.Node namespaceNode, java.lang.String separator)
node
- the Nodexpath
- the XPathnamespaceNode
- the namespaceseparator
- the seperatorpublic static void removeNodesByXPath(org.w3c.dom.Node node, java.lang.String xpath, org.w3c.dom.Node namespaceNode)
node
- the Nodexpath
- the XPathnamespaceNode
- the namespace