|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jasperreports.engine.util.xml.JRXPathExecuterUtils
public final class JRXPathExecuterUtils
Helper class used to instantiate XPath executers.
XPath executer factory class name is given by the
net.sf.jasperreports.xpath.executer.factory property.
The class should have a public default constructor so that it can be instantiated via reflection.
By default, XPath executers based on Apache Xalan
are used.
| Field Summary | |
|---|---|
static java.lang.String |
PROPERTY_XPATH_EXECUTER_FACTORY
Property that holds the XPath executer factory class name. |
| Method Summary | |
|---|---|
static JRXPathExecuter |
getXPathExecuter()
Produces an XPath executer instance by means of the factory
returned by getXPathExecuterFactory(). |
static JRXPathExecuterFactory |
getXPathExecuterFactory()
Return an XPath executer factory instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PROPERTY_XPATH_EXECUTER_FACTORY
XPath executer factory class name.
| Method Detail |
|---|
public static JRXPathExecuterFactory getXPathExecuterFactory()
throws JRException
XPath executer factory instance.
JRException - if the XPath factory property is not defined
or the factory cannot be instantiated.
public static JRXPathExecuter getXPathExecuter()
throws JRException
XPath executer instance by means of the factory
returned by getXPathExecuterFactory().
JRException - if the XPath factory property is not defined
or the factory cannot be instantiated.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||