public final class JRXPathExecuterUtils extends Object
XPath executers.
The 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.| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_XPATH_EXECUTER_FACTORY
Property that holds the
XPath executer factory class name. |
| Modifier and Type | Method and Description |
|---|---|
static JRXPathExecuter |
getXPathExecuter()
Deprecated.
Replaced by
getXPathExecuter(JasperReportsContext). |
static JRXPathExecuter |
getXPathExecuter(JasperReportsContext jasperReportsContext)
Produces an
XPath executer instance by means of the factory
returned by getXPathExecuterFactory(). |
static JRXPathExecuterFactory |
getXPathExecuterFactory()
Deprecated.
Replaced by
getXPathExecuterFactory(JasperReportsContext). |
static JRXPathExecuterFactory |
getXPathExecuterFactory(JasperReportsContext jasperReportsContext)
Return an
XPath executer factory instance. |
public static final String PROPERTY_XPATH_EXECUTER_FACTORY
XPath executer factory class name.public static JRXPathExecuterFactory getXPathExecuterFactory(JasperReportsContext jasperReportsContext) throws JRException
XPath executer factory instance.JRException - if the XPath factory property is not defined
or the factory cannot be instantiated.public static JRXPathExecuterFactory getXPathExecuterFactory() throws JRException
getXPathExecuterFactory(JasperReportsContext).JRExceptionpublic static JRXPathExecuter getXPathExecuter(JasperReportsContext jasperReportsContext) 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.public static JRXPathExecuter getXPathExecuter() throws JRException
getXPathExecuter(JasperReportsContext).JRExceptionCopyright © 2015. All rights reserved.