org.pentaho.reporting.engine.classic.core.modules.parser.extwriter
Class StylesWriter
java.lang.Object
org.pentaho.reporting.engine.classic.core.modules.parser.extwriter.AbstractXMLDefinitionWriter
org.pentaho.reporting.engine.classic.core.modules.parser.extwriter.StylesWriter
public class StylesWriter
- extends AbstractXMLDefinitionWriter
A styles 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 |
Constructor Summary |
StylesWriter(ReportWriterContext reportWriter,
org.pentaho.reporting.libraries.xmlns.writer.XmlWriter xmlWriter)
Creates a new styles writer. |
Method Summary |
void |
write()
Writes the ihnerited styles to a character stream writer. |
StylesWriter
public StylesWriter(ReportWriterContext reportWriter,
org.pentaho.reporting.libraries.xmlns.writer.XmlWriter xmlWriter)
- Creates a new styles writer.
- Parameters:
reportWriter
- the report writer.xmlWriter
- the current indention level.
write
public void write()
throws IOException,
ReportWriterException
- Writes the ihnerited styles to a character stream writer. This will collect all inherited styles, ignoring all
styles which are directly bound to an element or which are global default stylesheets.
- Specified by:
write
in class AbstractXMLDefinitionWriter
- Throws:
IOException
- if there is an I/O problem.
ReportWriterException
- if there is a problem writing the report.