|
XDC - v. 0.6.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.xdc.util.XPathUtils
The XPathUtils class contains a few utility
methods used for selecting subnodes from a DOM node by an
XPath expression.
| Method Summary | |
static org.w3c.dom.Node |
selectNode(org.w3c.dom.Node node,
java.lang.String xPath)
This method retrieves the single subnode of the given DOM Node which satisfies the specified XPath pattern. |
static org.w3c.dom.traversal.NodeIterator |
selectNodes(org.w3c.dom.Node node,
java.lang.String xPath)
This method retrieves a NodeIterator which iterates
over all subnodes of a given DOM node satisfying the specified
XPath pattern. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static org.w3c.dom.traversal.NodeIterator selectNodes(org.w3c.dom.Node node,
java.lang.String xPath)
throws javax.xml.transform.TransformerException
NodeIterator which iterates
over all subnodes of a given DOM node satisfying the specified
XPath pattern.
node - The DOM node to which the XPath pattern is appliedxPath - The XPath expression applied to the DOM node
NodeIterator over all of the specified
DOM node's subnodes satisfying the specified XPath
expression
javax.xml.transform.TransformerException
public static org.w3c.dom.Node selectNode(org.w3c.dom.Node node,
java.lang.String xPath)
throws javax.xml.transform.TransformerException
Node which satisfies the specified XPath pattern.
node - The DOM node to which the XPath pattern is appliedxPath - The XPath expression applied to the DOM node
javax.xml.transform.TransformerException
|
XDC - v. 0.6.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||