|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jasperreports.engine.util.xml.JaxenXPathExecuter
public class JaxenXPathExecuter
XPath executer implementation that uses Jaxen.
| Nested Class Summary | |
|---|---|
protected static class |
JaxenXPathExecuter.NodeListWrapper
|
| Constructor Summary | |
|---|---|
JaxenXPathExecuter()
|
|
| Method Summary | |
|---|---|
protected org.jaxen.XPath |
getXPath(String expression)
|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JaxenXPathExecuter()
| Method Detail |
|---|
protected org.jaxen.XPath getXPath(String expression)
throws JRException
JRException
public NodeList selectNodeList(Node contextNode,
String expression)
throws JRException
JRXPathExecuter
selectNodeList in interface JRXPathExecutercontextNode - the context node (a document can also be used)expression - the XPath expression
JRException - if the XPath evaluation failed
public Object selectObject(Node contextNode,
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 expression
JRException - if the XPath evaluation failed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||