Class DataFactoryXmlResourceFactory

  • All Implemented Interfaces:
    org.pentaho.reporting.libraries.resourceloader.ResourceFactory

    public class DataFactoryXmlResourceFactory
    extends org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlResourceFactory
    • Field Summary

      • Fields inherited from class org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlResourceFactory

        CONTENTBASE_KEY
      • Fields inherited from interface org.pentaho.reporting.libraries.resourceloader.ResourceFactory

        CONFIG_PREFIX
    • Constructor Detail

      • DataFactoryXmlResourceFactory

        public DataFactoryXmlResourceFactory()
    • Method Detail

      • register

        public static void register​(Class<? extends org.pentaho.reporting.libraries.xmlns.parser.XmlFactoryModule> readHandler)
      • initializeDefaults

        public void initializeDefaults()
        Specified by:
        initializeDefaults in interface org.pentaho.reporting.libraries.resourceloader.ResourceFactory
        Overrides:
        initializeDefaults in class org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlResourceFactory
      • configureReader

        protected void configureReader​(XMLReader reader,
                                       org.pentaho.reporting.libraries.xmlns.parser.MultiplexRootElementHandler handler)
        Configures the xml reader. Use this to set features or properties before the documents get parsed.
        Parameters:
        handler - the parser implementation that will handle the SAX-Callbacks.
        reader - the xml reader that should be configured.
      • getConfiguration

        protected org.pentaho.reporting.libraries.base.config.Configuration getConfiguration()
        Specified by:
        getConfiguration in class org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlResourceFactory
      • getFactoryType

        public Class getFactoryType()
      • createResource

        protected org.pentaho.reporting.libraries.resourceloader.Resource createResource​(org.pentaho.reporting.libraries.resourceloader.ResourceKey targetKey,
                                                                                         org.pentaho.reporting.libraries.xmlns.parser.RootXmlReadHandler handler,
                                                                                         Object createdProduct,
                                                                                         Class createdType)
        Overrides:
        createResource in class org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlResourceFactory