public class XPathLite
extends java.lang.Object
Constructor and Description |
---|
XPathLite(java.lang.String expr)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.util.List |
selectChildren(org.jdom.Document doc)
Select all children of a node based on expression
|
org.jdom.Element |
selectNode(org.jdom.Document doc)
Select a single node based on expression
|
public XPathLite(java.lang.String expr)
expr
- XPath expression to usepublic org.jdom.Element selectNode(org.jdom.Document doc)
doc
- XML doc to searchpublic java.util.List selectChildren(org.jdom.Document doc)
doc
- XML doc to search