public class XPathNodeScanner extends Object implements NodeScanner
NodeScanner implementation that scans the document by executing XPath queries.| Modifier and Type | Field and Description |
|---|---|
protected String[] |
xpathQueries |
| Constructor and Description |
|---|
XPathNodeScanner() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
List<org.dom4j.Node> |
scan(org.dom4j.Document document)
Scans the specified document for nodes that fit a certain condition.
|
void |
setXPathQueries(String... xpathQueries) |
protected String[] xpathQueries
public void setXPathQueries(String... xpathQueries)
public List<org.dom4j.Node> scan(org.dom4j.Document document) throws XmlException
NodeScannerscan in interface NodeScannerXmlExceptionCopyright © 2018 CrafterCMS. All rights reserved.