|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.backsource.utils.xml.XPathUtil
Util to make it easy to get nodes from a document with the help of an XPath expression.
| Method Summary | |
protected static org.jaxen.XPath |
getDOMXPath(java.lang.String xpath)
Get the DOM specifix XPath engine. |
static void |
main(java.lang.String[] args)
|
static java.util.List |
selectNodes(org.w3c.dom.Node xml,
java.lang.String xpath)
Select all nodes from node based on xpath. |
static org.w3c.dom.Node |
selectSingleNode(org.w3c.dom.Node xml,
java.lang.String xpath)
Select a single node from node based on xpath. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
protected static org.jaxen.XPath getDOMXPath(java.lang.String xpath)
throws XmlException
XmlException
public static org.w3c.dom.Node selectSingleNode(org.w3c.dom.Node xml,
java.lang.String xpath)
throws XmlException
Select a single node from node based on xpath.
XmlException
public static java.util.List selectNodes(org.w3c.dom.Node xml,
java.lang.String xpath)
throws XmlException
Select all nodes from node based on xpath.
XmlExceptionpublic static void main(java.lang.String[] args)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||