|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jasperreports.engine.query.JRXPathQueryExecuterFactory
net.sf.jasperreports.engine.query.XalanXPathQueryExecuterFactory
public class XalanXPathQueryExecuterFactory
Xalan XPath query executer factory.
The factory createsXalanXPathQueryExecuter
query executers.
Field Summary | |
---|---|
static java.lang.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 java.lang.String |
PARAMETER_XML_NAMESPACE_MAP
Parameter that holds the java.util.Map<String,String> with XML namespace information in the
<prefix, uri> format |
static java.lang.String |
XML_DETECT_NAMESPACES
Boolean parameter/property that specifies whether the XML document should be parsed for namespaces or not. |
static java.lang.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, XML_DATE_PATTERN, XML_LOCALE, XML_NUMBER_PATTERN, XML_TIME_ZONE |
Fields inherited from interface net.sf.jasperreports.engine.query.JRQueryExecuterFactory |
---|
QUERY_EXECUTER_FACTORY_PREFIX |
Constructor Summary | |
---|---|
XalanXPathQueryExecuterFactory()
|
Method Summary | |
---|---|
JRQueryExecuter |
createQueryExecuter(JRDataset dataset,
java.util.Map parameters)
Creates a query executer. |
java.lang.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 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.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 java.lang.String PARAMETER_XML_NAMESPACE_MAP
java.util.Map<String,String>
with XML namespace information in the
<prefix, uri> format
public static final java.lang.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 java.lang.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 XalanXPathQueryExecuterFactory()
Method Detail |
---|
public java.lang.Object[] getBuiltinParameters()
JRQueryExecuterFactory
{"Param1", String.class, "Param2", "List.class"}
).
getBuiltinParameters
in interface JRQueryExecuterFactory
getBuiltinParameters
in class JRXPathQueryExecuterFactory
public JRQueryExecuter createQueryExecuter(JRDataset dataset, java.util.Map parameters) throws JRException
JRQueryExecuterFactory
createQueryExecuter
in interface JRQueryExecuterFactory
createQueryExecuter
in class JRXPathQueryExecuterFactory
dataset
- 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 |