public class JaxenXPathQueryExecuterFactory extends JRXPathQueryExecuterFactory
JaxenXPathQueryExecuter
query executers.| Modifier and Type | Field and Description |
|---|---|
static String |
PARAMETER_DOCUMENT_BUILDER_FACTORY
Built-in parameter holdin the value of the
javax.xml.parsers.DocumentBuilderFactor used to create
documents of type org.w3c.dom.Document |
static String |
PARAMETER_XML_NAMESPACE_MAP
Parameter that holds the
java.util.Map<String,String> with XML namespace information in the
<prefix, uri> format |
static String |
XML_DETECT_NAMESPACES
Boolean parameter/property that specifies whether the XML document should be parsed for namespaces or not.
|
static String |
XML_NAMESPACE_PREFIX
Prefix for properties holding the namespace prefix and uri:
e.g.
|
PARAMETER_XML_DATA_DOCUMENT, PROPERTY_XML_DATE_PATTERN, PROPERTY_XML_NUMBER_PATTERN, XML_DATE_PATTERN, XML_FILE, XML_INPUT_STREAM, XML_LOCALE, XML_NUMBER_PATTERN, XML_SOURCE, XML_TIME_ZONEQUERY_EXECUTER_FACTORY_PREFIX| Constructor and Description |
|---|
JaxenXPathQueryExecuterFactory() |
| Modifier and Type | Method and Description |
|---|---|
JRQueryExecuter |
createQueryExecuter(JasperReportsContext jasperReportsContext,
JRDataset dataset,
Map<String,? extends JRValueParameter> parameters)
Creates a query executer.
|
Object[] |
getBuiltinParameters()
Returns the built-in parameters associated with this query type.
|
supportsQueryParameterTypecreateQueryExecuterpublic static final String PARAMETER_DOCUMENT_BUILDER_FACTORY
javax.xml.parsers.DocumentBuilderFactor used to create
documents of type org.w3c.dom.Documentpublic static final String PARAMETER_XML_NAMESPACE_MAP
java.util.Map<String,String> with XML namespace information in the
<prefix, uri> formatpublic static final String XML_NAMESPACE_PREFIX
This property has a lower priority than PARAMETER_XML_NAMESPACE_MAP, which if it is specified it will cause
the prefixed properties not to be searched for.
public static final String XML_DETECT_NAMESPACES
This parameter is meaningful only when:
PARAMETER_XML_NAMESPACE_MAP parameter is not provided or provided with a null value
XML_NAMESPACE_PREFIX;
falsepublic Object[] getBuiltinParameters()
QueryExecuterFactory{"Param1", String.class, "Param2", "List.class"}).getBuiltinParameters in interface JRQueryExecuterFactorygetBuiltinParameters in interface QueryExecuterFactorygetBuiltinParameters in class JRXPathQueryExecuterFactorypublic JRQueryExecuter createQueryExecuter(JasperReportsContext jasperReportsContext, JRDataset dataset, Map<String,? extends JRValueParameter> parameters) throws JRException
QueryExecuterFactorycreateQueryExecuter in interface QueryExecuterFactorycreateQueryExecuter in class JRXPathQueryExecuterFactoryjasperReportsContext - the JasperReportsContextdataset - the dataset containing the query, fields, etcparameters - map of value parameters (instances of JRValueParameter)
indexed by nameJRExceptionCopyright © 2017. All rights reserved.