org.pentaho.reporting.engine.classic.core.modules.parser.extwriter
Class ReportDefinitionWriter
java.lang.Object
org.pentaho.reporting.engine.classic.core.modules.parser.extwriter.AbstractXMLDefinitionWriter
org.pentaho.reporting.engine.classic.core.modules.parser.extwriter.ReportDefinitionWriter
public class ReportDefinitionWriter
- extends AbstractXMLDefinitionWriter
A report definition writer.
- Author:
- Thomas Morgner.
Fields inherited from class org.pentaho.reporting.engine.classic.core.modules.parser.extwriter.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 |
Method Summary |
void |
write()
Writes a report definition to a character stream writer. |
ReportDefinitionWriter
public ReportDefinitionWriter(ReportWriterContext reportWriter,
org.pentaho.reporting.libraries.xmlns.writer.XmlWriter xmlWriter)
- Creates a new writer.
- Parameters:
reportWriter
- the writer context holding the global configuration for this write-operation.xmlWriter
- the report writer.
write
public void write()
throws IOException,
ReportWriterException
- Writes a report definition to a character stream writer. After the standard XML header and the opening tag is
written, this class delegates work to:
- Specified by:
write
in class AbstractXMLDefinitionWriter
- Throws:
IOException
- if there is an I/O problem.
ReportWriterException
- if there is a problem writing the report.