|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jasperreports.engine.query.AbstractQueryExecuterFactory
net.sf.jasperreports.engine.query.JRXPathQueryExecuterFactory
net.sf.jasperreports.engine.query.JaxenXPathQueryExecuterFactory
public class JaxenXPathQueryExecuterFactory
Jaxen XPath query executer factory.
The factory createsJaxenXPathQueryExecuter
query executers.
| Field Summary | |
|---|---|
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. net.sf.jasperreports.xml.namespace. |
| Fields inherited from class net.sf.jasperreports.engine.query.JRXPathQueryExecuterFactory |
|---|
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_ZONE |
| Fields inherited from interface net.sf.jasperreports.engine.query.QueryExecuterFactory |
|---|
QUERY_EXECUTER_FACTORY_PREFIX |
| Constructor Summary | |
|---|---|
JaxenXPathQueryExecuterFactory()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class net.sf.jasperreports.engine.query.JRXPathQueryExecuterFactory |
|---|
supportsQueryParameterType |
| Methods inherited from class net.sf.jasperreports.engine.query.AbstractQueryExecuterFactory |
|---|
createQueryExecuter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PARAMETER_DOCUMENT_BUILDER_FACTORY
javax.xml.parsers.DocumentBuilderFactor used to create
documents of type org.w3c.dom.Document
- See Also:
- Constant Field Values
public static final String PARAMETER_XML_NAMESPACE_MAP
java.util.Map<String,String> with XML namespace information in the
<prefix, uri> format
public 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;
false
| Constructor Detail |
|---|
public JaxenXPathQueryExecuterFactory()
| Method Detail |
|---|
public Object[] getBuiltinParameters()
QueryExecuterFactory{"Param1", String.class, "Param2", "List.class"}).
getBuiltinParameters in interface JRQueryExecuterFactorygetBuiltinParameters in interface QueryExecuterFactorygetBuiltinParameters in class JRXPathQueryExecuterFactory
public JRQueryExecuter createQueryExecuter(JasperReportsContext jasperReportsContext,
JRDataset dataset,
Map<String,? extends JRValueParameter> parameters)
throws JRException
QueryExecuterFactory
createQueryExecuter in interface QueryExecuterFactorycreateQueryExecuter in class JRXPathQueryExecuterFactoryjasperReportsContext - the JasperReportsContextdataset - the dataset containing the query, fields, etcparameters - map of value parameters (instances of JRValueParameter)
indexed by name
JRException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||