public class DriverDataSourceProviderWriteHandler extends Object implements DataSourceProviderBundleWriteHandler, DataSourceProviderWriteHandler
Constructor and Description |
---|
DriverDataSourceProviderWriteHandler() |
Modifier and Type | Method and Description |
---|---|
void |
write(org.pentaho.reporting.engine.classic.core.modules.parser.extwriter.ReportWriterContext reportWriter,
org.pentaho.reporting.libraries.xmlns.writer.XmlWriter xmlWriter,
DataSourceProvider dataFactory)
Writes a data-source into a XML-stream.
|
void |
write(org.pentaho.reporting.libraries.docbundle.WriteableDocumentBundle bundle,
org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleWriterState state,
org.pentaho.reporting.libraries.xmlns.writer.XmlWriter xmlWriter,
DataSourceProvider dataSourceProvider)
Writes a data-source into a XML-stream.
|
public DriverDataSourceProviderWriteHandler()
public void write(org.pentaho.reporting.libraries.docbundle.WriteableDocumentBundle bundle, org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleWriterState state, org.pentaho.reporting.libraries.xmlns.writer.XmlWriter xmlWriter, DataSourceProvider dataSourceProvider) throws IOException, org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleWriterException
write
in interface DataSourceProviderBundleWriteHandler
bundle
- the document bundle that is produced.state
- the current writer state.xmlWriter
- the XML writer that will receive the generated XML data.dataSourceProvider
- the data factory that should be written.IOException
- if any error occuredorg.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleWriterException
public void write(org.pentaho.reporting.engine.classic.core.modules.parser.extwriter.ReportWriterContext reportWriter, org.pentaho.reporting.libraries.xmlns.writer.XmlWriter xmlWriter, DataSourceProvider dataFactory) throws IOException, org.pentaho.reporting.engine.classic.core.modules.parser.extwriter.ReportWriterException
write
in interface DataSourceProviderWriteHandler
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
occuredorg.pentaho.reporting.engine.classic.core.modules.parser.extwriter.ReportWriterException
- if the data
factory
cannot be written.