public class SQLDataFactoryWriteHandler extends Object implements DataFactoryWriteHandler
Constructor and Description |
---|
SQLDataFactoryWriteHandler() |
Modifier and Type | Method and Description |
---|---|
void |
write(ReportWriterContext reportWriter,
org.pentaho.reporting.libraries.xmlns.writer.XmlWriter xmlWriter,
DataFactory dataFactory)
Writes a data-source into a XML-stream.
|
public static final String PREFIX
public void write(ReportWriterContext reportWriter, org.pentaho.reporting.libraries.xmlns.writer.XmlWriter xmlWriter, DataFactory dataFactory) throws IOException, ReportWriterException
write
in interface DataFactoryWriteHandler
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.IOException
- if any error occuredReportWriterException
- if the data factory cannot be written.