org.pentaho.reporting.engine.classic.core.modules.parser.extwriter
Interface DataFactoryWriteHandler

All Known Implementing Classes:
CompoundDataFactoryWriteHandler, DirectSQLDataFactoryWriteHandler, DirectStaticDataFactoryWriterHandler, SQLDataFactoryWriteHandler, StaticDataFactoryWriterHandler, TableDataFactoryWriteHandler

public interface DataFactoryWriteHandler

Serializes a single data factory into inline-XML for the Ext-XML format.

Author:
Thomas Morgner

Method Summary
 void write(ReportWriterContext reportWriter, org.pentaho.reporting.libraries.xmlns.writer.XmlWriter xmlWriter, DataFactory dataFactory)
          Writes a data-source into a XML-stream.
 

Method Detail

write

void write(ReportWriterContext reportWriter,
           org.pentaho.reporting.libraries.xmlns.writer.XmlWriter xmlWriter,
           DataFactory dataFactory)
           throws IOException,
                  ReportWriterException
Writes a data-source into a XML-stream.

Parameters:
reportWriter - the writer context that holds all factories.
xmlWriter - the XML writer that will receive the generated XML data.
dataFactory - the data factory that should be written.
Throws:
IOException - if any error occured
ReportWriterException - if the data factory cannot be written.