public abstract class AbstractXMLDefinitionWriter extends Object
Modifier and Type | Field and Description |
---|---|
static String |
BASIC_KEY_TAG
The 'basic-key' tag name.
|
static String |
BASIC_OBJECT_TAG
The text for the 'basic-object' tag.
|
static String |
CLASS_ATTRIBUTE
The class attribute name.
|
static String |
COMPOUND_KEY_TAG
The 'compound-key' tag name.
|
static String |
COMPOUND_OBJECT_TAG
The text for the 'compound-object' tag.
|
static String |
CONFIGURATION_TAG
The 'configuration' tag name.
|
static String |
DATASOURCE_TAG
The datasource tag name.
|
static String |
EXTENDS_TAG
The 'extends' tag name.
|
static String |
FUNCTIONS_TAG
The functions tag name.
|
static String |
HEIGHT_ATT
Literal text for an XML attribute.
|
static String |
NAME_ATTR
The 'name' attribute text.
|
static String |
OUTPUT_TARGET_TAG
The 'output-config' tag name.
|
static String |
PARSER_CONFIG_TAG
The parser config tag name.
|
static String |
PROPERTIES_TAG
The properties tag name.
|
static String |
PROPERTY_TAG
The 'property' tag name.
|
static String |
REPORT_CONFIG_TAG
The report config tag name.
|
static String |
REPORT_DEFINITION_TAG
the document element tag for the extended report format.
|
static String |
STYLE_TAG
The 'style' tag name.
|
static String |
STYLES_TAG
The styles tag name.
|
static String |
TEMPLATE_TAG
The template tag.
|
static String |
TEMPLATES_TAG
The templates tag name.
|
static String |
WIDTH_ATT
Literal text for an XML attribute.
|
Modifier | Constructor and Description |
---|---|
protected |
AbstractXMLDefinitionWriter(ReportWriterContext reportWriter,
XmlWriter xmlWriter)
Creates a new writer.
|
Modifier and Type | Method and Description |
---|---|
protected AbstractReportDefinition |
getReport()
Returns the report.
|
protected ReportWriterContext |
getReportWriter()
Returns the report writer.
|
protected XmlWriter |
getXmlWriter() |
protected static boolean |
hasPublicDefaultConstructor(Class c) |
abstract void |
write()
Writes the report definition portion.
|
public static final String REPORT_DEFINITION_TAG
public static final String PARSER_CONFIG_TAG
public static final String REPORT_CONFIG_TAG
public static final String STYLES_TAG
public static final String TEMPLATES_TAG
public static final String FUNCTIONS_TAG
public static final String COMPOUND_OBJECT_TAG
public static final String BASIC_OBJECT_TAG
public static final String DATASOURCE_TAG
public static final String PROPERTIES_TAG
public static final String CLASS_ATTRIBUTE
public static final String CONFIGURATION_TAG
public static final String OUTPUT_TARGET_TAG
public static final String WIDTH_ATT
public static final String HEIGHT_ATT
public static final String STYLE_TAG
public static final String COMPOUND_KEY_TAG
public static final String BASIC_KEY_TAG
public static final String EXTENDS_TAG
public static final String TEMPLATE_TAG
public static final String PROPERTY_TAG
public static final String NAME_ATTR
protected AbstractXMLDefinitionWriter(ReportWriterContext reportWriter, XmlWriter xmlWriter)
reportWriter
- the report writer.xmlWriter
- protected ReportWriterContext getReportWriter()
protected XmlWriter getXmlWriter()
protected AbstractReportDefinition getReport()
public abstract void write() throws IOException, ReportWriterException
IOException
- if there is an I/O problem.ReportWriterException
- if the report serialisation failed.protected static boolean hasPublicDefaultConstructor(Class c)
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.