Class XPathNodeScanner
java.lang.Object
org.craftercms.core.util.xml.impl.XPathNodeScanner
- All Implemented Interfaces:
NodeScanner
NodeScanner
implementation that scans the document by executing XPath queries.- Author:
- Alfonso Vásquez
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
xpathQueries
-
-
Constructor Details
-
XPathNodeScanner
public XPathNodeScanner()
-
-
Method Details
-
setXPathQueries
-
scan
Description copied from interface:NodeScanner
Scans the specified document for nodes that fit a certain condition.- Specified by:
scan
in interfaceNodeScanner
- Returns:
- the list of nodes that fit the condition
- Throws:
XmlException
-
equals
-
hashCode
public int hashCode()
-