public class ParserConfigWriter extends AbstractXMLDefinitionWriter
Modifier and Type | Field and Description |
---|---|
static String |
DATADEFINITION_FACTORY_TAG
The 'datadefinition-factory' tag name.
|
static String |
DATASOURCE_FACTORY_TAG
The 'datasource-factory' tag name.
|
static String |
ELEMENT_FACTORY_TAG
The 'element-factory' tag name.
|
static String |
OBJECT_FACTORY_TAG
The 'object-factory' tag name.
|
static String |
STYLEKEY_FACTORY_TAG
The 'stylekey-factory' tag name.
|
static String |
TEMPLATE_FACTORY_TAG
The 'template-factory' tag name.
|
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 |
---|
ParserConfigWriter(ReportWriterContext reportWriter,
org.pentaho.reporting.libraries.xmlns.writer.XmlWriter xmlWriter)
Creates a new writer.
|
Modifier and Type | Method and Description |
---|---|
void |
write()
Writes the XML.
|
void |
writeFactory(String tagName,
Iterator it)
Writes a factory element.
|
public static final String STYLEKEY_FACTORY_TAG
public static final String TEMPLATE_FACTORY_TAG
public static final String OBJECT_FACTORY_TAG
public static final String DATADEFINITION_FACTORY_TAG
public static final String DATASOURCE_FACTORY_TAG
public static final String ELEMENT_FACTORY_TAG
public ParserConfigWriter(ReportWriterContext reportWriter, org.pentaho.reporting.libraries.xmlns.writer.XmlWriter xmlWriter)
reportWriter
- the report writer.public void write() throws IOException
write
in class AbstractXMLDefinitionWriter
IOException
- if there is an I/O problem.public void writeFactory(String tagName, Iterator it) throws IOException
tagName
- the tag name.it
- an iterator over a collection of factories, which should be defined for the target report.IOException
- if there is an I/O problem.