|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface XPathAPI
An interface to abstract XPath evaluation
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
NodeList selectNodeList(Node contextNode,
Node xpathnode,
String str,
Node namespaceNode)
throws TransformerException
contextNode - The node to start searching from.xpathnode - str - namespaceNode - The node from which prefixes in the XPath will be resolved to namespaces.
TransformerException
boolean evaluate(Node contextNode,
Node xpathnode,
String str,
Node namespaceNode)
throws 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.
TransformerExceptionvoid clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||