public class TemplateWriter extends ObjectWriter
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 |
---|
TemplateWriter(ReportWriterContext reportWriter,
XmlWriter indentLevel,
TemplateDescription template,
TemplateDescription parent)
Creates a new template writer.
|
Modifier and Type | Method and Description |
---|---|
void |
write()
Writes the report definition portion.
|
getClassFactoryCollector, getObjectDescription, getParameterDescription, getParameterNames, isBasicObject, writeParameter
getReport, getReportWriter, getXmlWriter, hasPublicDefaultConstructor
public TemplateWriter(ReportWriterContext reportWriter, XmlWriter indentLevel, TemplateDescription template, TemplateDescription parent)
reportWriter
- the report writer that is used to coordinate the writing.indentLevel
- the current indention level.template
- the template that should be written.parent
- the parent of the template.public void write() throws IOException, ReportWriterException
write
in class ObjectWriter
IOException
- if there is an I/O problem.ReportWriterException
- if the report serialisation failed.Copyright © 2017 Hitachi Vantara. All rights reserved.