org.pentaho.reporting.engine.classic.core.modules.parser.extwriter.inlinedata
Class TableDataFactoryWriteHandler

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.modules.parser.extwriter.inlinedata.TableDataFactoryWriteHandler
All Implemented Interfaces:
DataFactoryWriteHandler

public class TableDataFactoryWriteHandler
extends Object
implements DataFactoryWriteHandler

Todo: Document Me

Author:
Thomas Morgner

Constructor Summary
TableDataFactoryWriteHandler()
           
 
Method Summary
 void write(ReportWriterContext reportWriter, org.pentaho.reporting.libraries.xmlns.writer.XmlWriter xmlWriter, DataFactory dataFactory)
          Writes a data-source into a XML-stream.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableDataFactoryWriteHandler

public TableDataFactoryWriteHandler()
Method Detail

write

public 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.

Specified by:
write in interface DataFactoryWriteHandler
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.