Class JRXPathQueryExecuterFactory

java.lang.Object
net.sf.jasperreports.engine.query.AbstractQueryExecuterFactory
net.sf.jasperreports.engine.query.JRXPathQueryExecuterFactory
All Implemented Interfaces:
QueryExecuterFactory, Designated
Direct Known Subclasses:
JaxenXPathQueryExecuterFactory, XalanXPathQueryExecuterFactory

public class JRXPathQueryExecuterFactory extends AbstractQueryExecuterFactory implements Designated
XPath query executer factory.

The factory creates JRXPathQueryExecuter query executers.

Author:
Lucian Chirita (lucianc@users.sourceforge.net)
  • Field Details

    • PARAMETER_DOCUMENT_BUILDER_FACTORY

      public static final String PARAMETER_DOCUMENT_BUILDER_FACTORY
      Built-in parameter holding the value of the javax.xml.parsers.DocumentBuilderFactor used to create documents of type org.w3c.dom.Document
      See Also:
    • PARAMETER_XML_NAMESPACE_MAP

      public static final String PARAMETER_XML_NAMESPACE_MAP
      Parameter that holds the java.util.Map<String,String> with XML namespace information in the <prefix, uri> format
      See Also:
    • XML_NAMESPACE_PREFIX

      public static final String XML_NAMESPACE_PREFIX
      Prefix for properties holding the namespace prefix and uri: e.g. net.sf.jasperreports.xml.namespace.{prefix} = uri

      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.

      See Also:
    • XML_DETECT_NAMESPACES

      public static final String XML_DETECT_NAMESPACES
      Boolean parameter/property that specifies whether the XML document should be parsed for namespaces or not.

      This parameter is meaningful only when:

      It defaults to false
      See Also:
    • QUERY_EXECUTER_NAME

      public static final String QUERY_EXECUTER_NAME
      See Also:
    • PARAMETER_XML_DATA_DOCUMENT

      public static final String PARAMETER_XML_DATA_DOCUMENT
      Built-in parameter holding the value of the org.w3c.dom.Document used to run the XPath query.
      See Also:
    • XML_INPUT_STREAM

      public static final String XML_INPUT_STREAM
      Built-in parameter holding the value of the java.io.InputStream to be used for obtaining the XML data.
      See Also:
    • XML_FILE

      public static final String XML_FILE
      Built-in parameter holding the value of the java.io.File to be used for obtaining the XML data.
      See Also:
    • XML_SOURCE

      public static final String XML_SOURCE
      Built-in parameter/property holding the value of the java.lang.String source to be used for obtaining the XML data.
      See Also:
    • XML_DATE_PATTERN

      public static final String XML_DATE_PATTERN
      Parameter holding the format pattern used to instantiate java.util.Date instances.
      See Also:
    • PROPERTY_XML_DATE_PATTERN

      public static final String PROPERTY_XML_DATE_PATTERN
      Property holding the value of the date format pattern to be used when parsing the XML data.
      See Also:
    • XML_NUMBER_PATTERN

      public static final String XML_NUMBER_PATTERN
      Parameter holding the format pattern used to instantiate java.lang.Number instances.
      See Also:
    • PROPERTY_XML_NUMBER_PATTERN

      public static final String PROPERTY_XML_NUMBER_PATTERN
      Property holding the value of the number format pattern to be used when parsing the XLS data.
      See Also:
    • XML_LOCALE

      public static final String XML_LOCALE
      Parameter holding the value of the datasource Locale
      See Also:
    • XML_TIME_ZONE

      public static final String XML_TIME_ZONE
      Parameter holding the value of the datasource Timezone
      See Also:
  • Constructor Details

    • JRXPathQueryExecuterFactory

      public JRXPathQueryExecuterFactory()
  • Method Details