Class DriverDataSourceProviderWriteHandler
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.extensions.datasources.mondrian.writer.DriverDataSourceProviderWriteHandler
-
- All Implemented Interfaces:
DataSourceProviderBundleWriteHandler
,DataSourceProviderWriteHandler
public class DriverDataSourceProviderWriteHandler extends Object implements DataSourceProviderBundleWriteHandler, DataSourceProviderWriteHandler
Todo: Document me! Date: 25.08.2009 Time: 18:56:13- Author:
- Thomas Morgner.
-
-
Constructor Summary
Constructors Constructor Description DriverDataSourceProviderWriteHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.protected void
write(org.pentaho.reporting.libraries.xmlns.writer.XmlWriter writer, DriverDataSourceProvider provider)
-
-
-
Method Detail
-
write
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
Writes a data-source into a XML-stream.- Specified by:
write
in interfaceDataSourceProviderBundleWriteHandler
- Parameters:
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.- Throws:
IOException
- if any error occuredorg.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleWriterException
-
write
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
Writes a data-source into a XML-stream.- Specified by:
write
in interfaceDataSourceProviderWriteHandler
- 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 occuredorg.pentaho.reporting.engine.classic.core.modules.parser.extwriter.ReportWriterException
- if the data factory cannot be written.
-
write
protected void write(org.pentaho.reporting.libraries.xmlns.writer.XmlWriter writer, DriverDataSourceProvider provider) throws IOException
- Throws:
IOException
-
-