Class DataFactoryXmlResourceFactory
- java.lang.Object
-
- org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlResourceFactory
-
- org.pentaho.reporting.engine.classic.core.modules.parser.base.DataFactoryXmlResourceFactory
-
- All Implemented Interfaces:
org.pentaho.reporting.libraries.resourceloader.ResourceFactory
public class DataFactoryXmlResourceFactory extends org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlResourceFactory
-
-
Constructor Summary
Constructors Constructor Description DataFactoryXmlResourceFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configureReader(XMLReader reader, org.pentaho.reporting.libraries.xmlns.parser.MultiplexRootElementHandler handler)
Configures the xml reader.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)
protected org.pentaho.reporting.libraries.base.config.Configuration
getConfiguration()
Class
getFactoryType()
void
initializeDefaults()
static void
register(Class<? extends org.pentaho.reporting.libraries.xmlns.parser.XmlFactoryModule> readHandler)
-
-
-
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 interfaceorg.pentaho.reporting.libraries.resourceloader.ResourceFactory
- Overrides:
initializeDefaults
in classorg.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 classorg.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 classorg.pentaho.reporting.libraries.xmlns.parser.AbstractXmlResourceFactory
-
-