Class SampleDataFactoryWriteHandler

  • All Implemented Interfaces:
    org.pentaho.reporting.engine.classic.core.modules.parser.extwriter.DataFactoryWriteHandler

    public class SampleDataFactoryWriteHandler
    extends Object
    implements org.pentaho.reporting.engine.classic.core.modules.parser.extwriter.DataFactoryWriteHandler
    Creation-Date: Jan 19, 2007, 4:44:05 PM
    Author:
    Thomas Morgner
    • Constructor Detail

      • SampleDataFactoryWriteHandler

        public SampleDataFactoryWriteHandler()
    • Method Detail

      • write

        public void write​(org.pentaho.reporting.engine.classic.core.modules.parser.extwriter.ReportWriterContext reportWriter,
                          org.pentaho.reporting.libraries.xmlns.writer.XmlWriter xmlWriter,
                          org.pentaho.reporting.engine.classic.core.DataFactory dataFactory)
                   throws IOException,
                          org.pentaho.reporting.engine.classic.core.modules.parser.extwriter.ReportWriterException
        Writes a data-source into a XML-stream.
        Specified by:
        write in interface org.pentaho.reporting.engine.classic.core.modules.parser.extwriter.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
        org.pentaho.reporting.engine.classic.core.modules.parser.extwriter.ReportWriterException - if the data factory cannot be written.