org.pentaho.reporting.engine.classic.core.modules.parser.extwriter
Class SubReportDefinitionWriter

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.modules.parser.extwriter.AbstractXMLDefinitionWriter
      extended by org.pentaho.reporting.engine.classic.core.modules.parser.extwriter.SubReportDefinitionWriter

public class SubReportDefinitionWriter
extends AbstractXMLDefinitionWriter

Creation-Date: Jan 22, 2007, 3:05:02 PM

Author:
Thomas Morgner

Field Summary
 
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
 
Constructor Summary
SubReportDefinitionWriter(ReportWriterContext reportWriter, org.pentaho.reporting.libraries.xmlns.writer.XmlWriter xmlWriter)
           
 
Method Summary
 void write()
          Writes the report definition portion.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubReportDefinitionWriter

public SubReportDefinitionWriter(ReportWriterContext reportWriter,
                                 org.pentaho.reporting.libraries.xmlns.writer.XmlWriter xmlWriter)
Method Detail

write

public void write()
           throws IOException,
                  ReportWriterException
Writes the report definition portion. Every DefinitionWriter handles one or more elements of the JFreeReport object tree, DefinitionWriter traverse the object tree and write the known objects or forward objects to other definition writers.

Specified by:
write in class AbstractXMLDefinitionWriter
Throws:
IOException - if there is an I/O problem.
ReportWriterException - if the report serialisation failed.