public interface XPathAPI
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clear any context information from this object
|
boolean |
evaluate(org.w3c.dom.Node contextNode,
org.w3c.dom.Node xpathnode,
java.lang.String str,
org.w3c.dom.Node namespaceNode)
Evaluate an XPath string and return true if the output is to be included or not.
|
org.w3c.dom.NodeList |
selectNodeList(org.w3c.dom.Node contextNode,
org.w3c.dom.Node xpathnode,
java.lang.String str,
org.w3c.dom.Node namespaceNode)
Use an XPath string to select a nodelist.
|
org.w3c.dom.NodeList selectNodeList(org.w3c.dom.Node contextNode,
org.w3c.dom.Node xpathnode,
java.lang.String str,
org.w3c.dom.Node namespaceNode)
throws javax.xml.transform.TransformerException
contextNode - The node to start searching from.xpathnode - str - namespaceNode - The node from which prefixes in the XPath will be resolved to namespaces.javax.xml.transform.TransformerExceptionboolean evaluate(org.w3c.dom.Node contextNode,
org.w3c.dom.Node xpathnode,
java.lang.String str,
org.w3c.dom.Node namespaceNode)
throws javax.xml.transform.TransformerException
contextNode - The node to start searching from.xpathnode - The XPath nodestr - The XPath expressionnamespaceNode - The node from which prefixes in the XPath will be resolved to namespaces.javax.xml.transform.TransformerExceptionvoid clear()
Copyright © 2007–2023. All rights reserved.