public interface XPathEngine
Modifier and Type | Method and Description |
---|---|
String |
evaluate(String xPath,
Node n)
Evaluates an XPath expression and stringifies the result.
|
String |
evaluate(String xPath,
Source s)
Evaluates an XPath expression and stringifies the result.
|
Iterable<Node> |
selectNodes(String xPath,
Node n)
Returns a potentially empty collection of Nodes matching an
XPath expression.
|
Iterable<Node> |
selectNodes(String xPath,
Source s)
Returns a potentially empty collection of Nodes matching an
XPath expression.
|
void |
setNamespaceContext(Map<String,String> prefix2Uri)
Establish a namespace context.
|
Iterable<Node> selectNodes(String xPath, Source s)
String evaluate(String xPath, Source s)
Iterable<Node> selectNodes(String xPath, Node n)
String evaluate(String xPath, Node n)
Copyright © 2001–2017 XMLUnit. All rights reserved.