org.pentaho.reporting.engine.classic.core.modules.output.pageable.xml
Class XmlPageReportUtil

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.modules.output.pageable.xml.XmlPageReportUtil

public class XmlPageReportUtil
extends Object

Todo: Document me!

Author:
: Thomas Morgner

Method Summary
static boolean createXml(MasterReport report, File fileName)
          Saves a report to XML format.
static boolean createXml(MasterReport report, OutputStream out)
          Saves a report to XML format.
static boolean createXml(MasterReport report, String fileName)
          Concates and saves a list of reports to XML format.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createXml

public static boolean createXml(MasterReport report,
                                File fileName)
Saves a report to XML format.

Parameters:
report - the report.
fileName - target file.
Returns:
true if the report has been successfully exported, false otherwise.

createXml

public static boolean createXml(MasterReport report,
                                OutputStream out)
Saves a report to XML format.

Parameters:
report - the report.
out - target output stream.
Returns:
true if the report has been successfully exported, false otherwise.

createXml

public static boolean createXml(MasterReport report,
                                String fileName)
Concates and saves a list of reports to XML format.

Parameters:
report - the report.
fileName - target file name.
Returns:
true if the report has been successfully exported, false otherwise.