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 |
PROPERTY_XPATH_EXECUTER_FACTORY
Property that holds the
XPath executer factory class name. |
Modifier and Type | Method and Description |
---|---|
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. |
public static final java.lang.String PROPERTY_XPATH_EXECUTER_FACTORY
XPath executer factory
class name.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.© 2001-2010 Jaspersoft Corporation www.jaspersoft.com