public interface XpathEngine
| Modifier and Type | Method and Description |
|---|---|
String |
evaluate(String select,
Document document)
Evaluate the result of executing the specified xpath syntax
select expression on the specified document |
NodeList |
getMatchingNodes(String select,
Document document)
Execute the specified xpath syntax
select expression
on the specified document and return the list of nodes (could have
length zero) that match |
void |
setNamespaceContext(NamespaceContext ctx)
Establish a namespace context.
|
NodeList getMatchingNodes(String select, Document document) throws XpathException
select expression
on the specified document and return the list of nodes (could have
length zero) that matchselect - document - XpathExceptionString evaluate(String select, Document document) throws XpathException
select expression on the specified documentselect - document - XpathExceptionvoid setNamespaceContext(NamespaceContext ctx)
Copyright © 2001–2018 XMLUnit. All rights reserved.