Class DataFactoryWriter
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.modules.parser.extwriter.AbstractXMLDefinitionWriter
-
- org.pentaho.reporting.engine.classic.core.modules.parser.extwriter.DataFactoryWriter
-
public class DataFactoryWriter extends AbstractXMLDefinitionWriter
Creation-Date: Jan 18, 2007, 6:39:15 PM- Author:
- Thomas Morgner
-
-
Field Summary
-
Fields inherited from class org.pentaho.reporting.engine.classic.core.modules.parser.extwriter.AbstractXMLDefinitionWriter
BASIC_KEY_TAG, BASIC_OBJECT_TAG, CLASS_ATTRIBUTE, COMPOUND_KEY_TAG, COMPOUND_OBJECT_TAG, CONFIGURATION_TAG, DATASOURCE_TAG, EXTENDS_TAG, FUNCTIONS_TAG, HEIGHT_ATT, NAME_ATTR, OUTPUT_TARGET_TAG, PARSER_CONFIG_TAG, PROPERTIES_TAG, PROPERTY_TAG, REPORT_CONFIG_TAG, REPORT_DEFINITION_TAG, STYLE_TAG, STYLES_TAG, TEMPLATE_TAG, TEMPLATES_TAG, WIDTH_ATT
-
-
Constructor Summary
Constructors Constructor Description DataFactoryWriter(ReportWriterContext reportWriter, org.pentaho.reporting.libraries.xmlns.writer.XmlWriter xmlWriter)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DataFactoryWriteHandler
lookupWriteHandler(DataFactory dataFactory)
void
write()
Writes the report definition portion.static void
writeDefaultDataFactory(DataFactory dataFactory, org.pentaho.reporting.libraries.xmlns.writer.XmlWriter writer)
-
Methods inherited from class org.pentaho.reporting.engine.classic.core.modules.parser.extwriter.AbstractXMLDefinitionWriter
getReport, getReportWriter, getXmlWriter, hasPublicDefaultConstructor
-
-
-
-
Constructor Detail
-
DataFactoryWriter
public DataFactoryWriter(ReportWriterContext reportWriter, org.pentaho.reporting.libraries.xmlns.writer.XmlWriter xmlWriter)
-
-
Method Detail
-
write
public void write() throws IOException, ReportWriterException
Writes the report definition portion. Every DefinitionWriter handles one or more elements of the JFreeReport object tree, DefinitionWriter traverse the object tree and write the known objects or forward objects to other definition writers.- Specified by:
write
in classAbstractXMLDefinitionWriter
- Throws:
IOException
- if there is an I/O problem.ReportWriterException
- if the report serialisation failed.
-
lookupWriteHandler
public static DataFactoryWriteHandler lookupWriteHandler(DataFactory dataFactory)
-
writeDefaultDataFactory
public static void writeDefaultDataFactory(DataFactory dataFactory, org.pentaho.reporting.libraries.xmlns.writer.XmlWriter writer) throws IOException
- Throws:
IOException
-
-