org.pentaho.reporting.engine.classic.core.modules.output.table.xml
Class XmlTableReportUtil

java.lang.Object
  extended by 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

Method Summary
static void createFlowXML(MasterReport report, OutputStream outputStream)
           
static void createStreamXML(MasterReport report, OutputStream outputStream)
           
static void createStreamXML(MasterReport report, String filename)
          Saves a report into a single XML file.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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