|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JRXPathExecuter
An XPath expression executer.
XML data sources delegate XPath executions to implementations
of this interface.
JRXPathExecuterFactory,
JRXPathExecuterUtils| Method Summary | |
|---|---|
org.w3c.dom.NodeList |
selectNodeList(org.w3c.dom.Node contextNode,
java.lang.String expression)
Selects a node list by evaluating an XPath expression on a context node. |
java.lang.Object |
selectObject(org.w3c.dom.Node contextNode,
java.lang.String expression)
Selects an object by evaluating an XPath expression on a context node. |
| Method Detail |
|---|
org.w3c.dom.NodeList selectNodeList(org.w3c.dom.Node contextNode,
java.lang.String expression)
throws JRException
contextNode - the context node (a document can also be used)expression - the XPath expression
JRException - if the XPath evaluation failed
java.lang.Object selectObject(org.w3c.dom.Node contextNode,
java.lang.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 expression
JRException - if the XPath evaluation failed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||