| Constructor and Description |
|---|
JDKXPathAPI() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clear any context information from this object
|
boolean |
evaluate(Node contextNode,
Node xpathnode,
String str,
Node namespaceNode)
Evaluate an XPath string and return true if the output is to be included or not.
|
NodeList |
selectNodeList(Node contextNode,
Node xpathnode,
String str,
Node namespaceNode)
Use an XPath string to select a nodelist.
|
public NodeList selectNodeList(Node contextNode, Node xpathnode, String str, Node namespaceNode) throws TransformerException
selectNodeList in interface XPathAPIcontextNode - The node to start searching from.xpathnode - str - namespaceNode - The node from which prefixes in the XPath will be resolved to namespaces.TransformerExceptionpublic boolean evaluate(Node contextNode, Node xpathnode, String str, Node namespaceNode) throws TransformerException
evaluate in interface XPathAPIcontextNode - 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.TransformerExceptionCopyright © 2000–2015 The Apache Software Foundation. All rights reserved.