org.pentaho.reporting.engine.classic.core.modules.output.table.xml
Class XmlTableReportUtil
java.lang.Object
org.pentaho.reporting.engine.classic.core.modules.output.table.xml.XmlTableReportUtil
public final class XmlTableReportUtil
- extends Object
Utility class to provide an easy to use default implementation of xml exports.
- Author:
- Thomas Morgner
createStreamXML
public static void createStreamXML(MasterReport report,
String filename)
throws IOException,
ReportProcessingException
- Saves a report into a single XML file.
- Parameters:
report
- the report.filename
- target file name.
- Throws:
ReportProcessingException
- if the report processing failed.
IOException
- if there was an IOerror while processing the report.
createStreamXML
public static void createStreamXML(MasterReport report,
OutputStream outputStream)
throws ReportProcessingException
- Throws:
ReportProcessingException
createFlowXML
public static void createFlowXML(MasterReport report,
OutputStream outputStream)
throws ReportProcessingException
- Throws:
ReportProcessingException