public class ReportDefinitionWriter extends AbstractXMLDefinitionWriter
BASIC_KEY_TAG, BASIC_OBJECT_TAG, CLASS_ATTRIBUTE, COMPOUND_KEY_TAG, COMPOUND_OBJECT_TAG, CONFIGURATION_TAG, DATASOURCE_TAG, EXTENDS_TAG, FUNCTIONS_TAG, HEIGHT_ATT, NAME_ATTR, OUTPUT_TARGET_TAG, PARSER_CONFIG_TAG, PROPERTIES_TAG, PROPERTY_TAG, REPORT_CONFIG_TAG, REPORT_DEFINITION_TAG, STYLE_TAG, STYLES_TAG, TEMPLATE_TAG, TEMPLATES_TAG, WIDTH_ATT
Constructor and Description |
---|
ReportDefinitionWriter(ReportWriterContext reportWriter,
XmlWriter xmlWriter)
Creates a new writer.
|
Modifier and Type | Method and Description |
---|---|
void |
write()
Writes a report definition to a character stream writer.
|
getReport, getReportWriter, getXmlWriter, hasPublicDefaultConstructor
public ReportDefinitionWriter(ReportWriterContext reportWriter, XmlWriter xmlWriter)
reportWriter
- the writer context holding the global configuration for this write-operation.xmlWriter
- the report writer.public void write() throws IOException, ReportWriterException
ParserConfigWriter
to write the parser configuration;ReportConfigWriter
to write the report configuration;StylesWriter
to write the templates;ReportDescriptionWriter
to write the report description;FunctionsWriter
to write the function definitions;write
in class AbstractXMLDefinitionWriter
IOException
- if there is an I/O problem.ReportWriterException
- if there is a problem writing the report.Copyright © 2002–2017 Pentaho Corporation. All rights reserved.