org.pentaho.reporting.engine.classic.core.modules.parser.extwriter.sql
Class SQLDataFactoryWriteHandler
java.lang.Object
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
Method Summary |
void |
write(ReportWriterContext reportWriter,
org.pentaho.reporting.libraries.xmlns.writer.XmlWriter xmlWriter,
DataFactory dataFactory)
Writes a data-source into a XML-stream. |
PREFIX
public static final String PREFIX
- See Also:
- Constant Field Values
SQLDataFactoryWriteHandler
public SQLDataFactoryWriteHandler()
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.