Class PmdDataFactoryWriteHandler
java.lang.Object
org.pentaho.reporting.engine.classic.extensions.datasources.pmd.writer.PmdDataFactoryWriteHandler
- All Implemented Interfaces:
org.pentaho.reporting.engine.classic.core.modules.parser.extwriter.DataFactoryWriteHandler
public class PmdDataFactoryWriteHandler
extends Object
implements org.pentaho.reporting.engine.classic.core.modules.parser.extwriter.DataFactoryWriteHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidwrite(org.pentaho.reporting.engine.classic.core.modules.parser.extwriter.ReportWriterContext reportWriter, org.pentaho.reporting.libraries.xmlns.writer.XmlWriter xmlWriter, org.pentaho.reporting.engine.classic.core.DataFactory dataFactory) Writes a data-source into a XML-stream.
-
Constructor Details
-
PmdDataFactoryWriteHandler
public PmdDataFactoryWriteHandler()
-
-
Method Details
-
write
public void write(org.pentaho.reporting.engine.classic.core.modules.parser.extwriter.ReportWriterContext reportWriter, org.pentaho.reporting.libraries.xmlns.writer.XmlWriter xmlWriter, org.pentaho.reporting.engine.classic.core.DataFactory dataFactory) throws IOException, org.pentaho.reporting.engine.classic.core.modules.parser.extwriter.ReportWriterException Writes a data-source into a XML-stream.- Specified by:
writein interfaceorg.pentaho.reporting.engine.classic.core.modules.parser.extwriter.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 occuredorg.pentaho.reporting.engine.classic.core.modules.parser.extwriter.ReportWriterException- if the data factory cannot be written.
-