org.pentaho.reporting.engine.classic.core.modules.parser.extwriter.sql
Class SQLDataFactoryWriteHandler

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

public class SQLDataFactoryWriteHandler
extends Object
implements DataFactoryWriteHandler

Creation-Date: Jan 19, 2007, 4:44:05 PM

Author:
Thomas Morgner

Field Summary
static String PREFIX
           
 
Constructor Summary
SQLDataFactoryWriteHandler()
           
 
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
 

Field Detail

PREFIX

public static final String PREFIX
See Also:
Constant Field Values
Constructor Detail

SQLDataFactoryWriteHandler

public SQLDataFactoryWriteHandler()
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.