public class StraightToXML extends Object
Constructor and Description |
---|
StraightToXML(String filename)
Creates a new demo application.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
Demo starting point.
|
boolean |
saveXML(org.pentaho.reporting.engine.classic.core.MasterReport report,
String fileName)
Saves a report to XML format.
|
public StraightToXML(String filename) throws org.pentaho.reporting.libraries.xmlns.parser.ParseException
filename
- the output filename.org.pentaho.reporting.libraries.xmlns.parser.ParseException
- if the report could not be parsed.public boolean saveXML(org.pentaho.reporting.engine.classic.core.MasterReport report, String fileName)
report
- the report.fileName
- target file name.true
if the export succeeded, and false
otherwise.public static void main(String[] args)
args
- ignored.Copyright © 2017 Hitachi Vantara. All rights reserved.