public interface JRXPathExecuter
XML data sources delegate XPath executions to implementations
of this interface.JRXPathExecuterFactory,
JRXPathExecuterUtils| Modifier and Type | Method and Description |
|---|---|
NodeList |
selectNodeList(Node contextNode,
String expression)
Selects a node list by evaluating an XPath expression on a context node.
|
Object |
selectObject(Node contextNode,
String expression)
Selects an object by evaluating an XPath expression on a context node.
|
NodeList selectNodeList(Node contextNode, String expression) throws JRException
contextNode - the context node (a document can also be used)expression - the XPath expressionJRException - if the XPath evaluation failedObject selectObject(Node contextNode, String expression) throws JRException
java.lang.String, java.lang.Number or java.lang.Boolean.contextNode - the context node (a document can also be used)expression - the XPath expressionJRException - if the XPath evaluation failedCopyright © 2017. All rights reserved.