getPointer(xpath).getNode(). Note that this method produces the same result as getValue() on object models like JavaBeans, but a different result for DOM/JDOM etc., because it returns the Node itself, rather than its textual contents.
@param xpath the xpath to be evaluated
@return the found object
selectSingleNode evaluates an XPath expression and returns the result as a single Node instance.
Node matching the XPath expression
selectSingleNode evaluates this XPath expression on the given {@link Node}or {@link List}of {@link Node}s and returns the result as a single Node instance.
Node instance
union operator (denoted with the pipe '|' character).
@param node The node, nodeset or Context object for evaluation. This value can be null.
@return The node-set of all items selectedby this XPath expression.
@see #selectNodes
union operator (denoted with the pipe '|' character).
@param The node, nodeset or Context object for evaluation. This value can be null
@return The node-set of all items selectedby this XPath expression.
@see #selectNodes
null if no item was selected.
@throws JDOMException if the evaluation of the XPathexpression on the specified context failed.
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |