public final class JRXPathExecuterUtils
extends java.lang.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 java.lang.String |
EXCEPTION_MESSAGE_KEY_XPATH_EXECUTER_FACTORY_NOT_FOUND |
static java.lang.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 java.lang.String EXCEPTION_MESSAGE_KEY_XPATH_EXECUTER_FACTORY_NOT_FOUND
public static final java.lang.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)
.JRException
public 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)
.JRException
© 2001-2014 TIBCO Software Inc. www.jaspersoft.com