|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jasperreports.engine.util.xml.XalanXPathExecuter
public class XalanXPathExecuter
XPath executer implementation that uses Apache Xalan.
Constructor Summary | |
---|---|
XalanXPathExecuter()
Default constructor. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XalanXPathExecuter()
Method Detail |
---|
public org.w3c.dom.NodeList selectNodeList(org.w3c.dom.Node contextNode, java.lang.String expression) throws JRException
JRXPathExecuter
selectNodeList
in interface JRXPathExecuter
contextNode
- the context node (a document can also be used)expression
- the XPath expression
JRException
- if the XPath evaluation failedpublic java.lang.Object selectObject(org.w3c.dom.Node contextNode, java.lang.String expression) throws JRException
JRXPathExecuter
java.lang.String
, java.lang.Number
or java.lang.Boolean
.
selectObject
in interface JRXPathExecuter
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 |