An XPath expression executer.
JRXmlDataSource XML data sources delegate XPath executions to implementations
of this interface.
author: Lucian Chirita (lucianc@users.sourceforge.net) version: $Id: JRXPathExecuter.java 1756 2007-06-14 16:11:20Z lucianc $ See Also:JRXPathExecuterFactory See Also:JRXPathExecuterUtils
Selects a node list by evaluating an XPath expression on a context node.
Parameters: contextNode - the context node (a document can also be used) Parameters: expression - the XPath expression the selected node list throws: JRException - if the XPath evaluation failed
Selects an object by evaluating an XPath expression on a context node.
If the expression evaluates to a node list, the first node in the list should be returned.
Otherwise, the primitive value resulted from the evaluation should be returned as a
java.lang.String, java.lang.Number or java.lang.Boolean.
Parameters: contextNode - the context node (a document can also be used) Parameters: expression - the XPath expression the selected node or value throws: JRException - if the XPath evaluation failed