public class XalanXPathExecuter extends java.lang.Object implements JRXPathExecuter
| Constructor and Description |
|---|
XalanXPathExecuter()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public org.w3c.dom.NodeList selectNodeList(org.w3c.dom.Node contextNode,
java.lang.String expression)
throws JRException
JRXPathExecuterselectNodeList in interface JRXPathExecutercontextNode - the context node (a document can also be used)expression - the XPath expressionJRException - if the XPath evaluation failedpublic java.lang.Object selectObject(org.w3c.dom.Node contextNode,
java.lang.String expression)
throws JRException
JRXPathExecuterjava.lang.String, java.lang.Number or java.lang.Boolean.selectObject in interface JRXPathExecutercontextNode - the context node (a document can also be used)expression - the XPath expressionJRException - if the XPath evaluation failed© 2001-2010 Jaspersoft Corporation www.jaspersoft.com