|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pentaho.reporting.engine.classic.core.modules.parser.extwriter.AbstractXMLDefinitionWriter org.pentaho.reporting.engine.classic.core.modules.parser.extwriter.ParserConfigWriter
public class ParserConfigWriter
A parser configuration writer.
Field Summary | |
---|---|
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. |
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 | |
---|---|
ParserConfigWriter(ReportWriterContext reportWriter,
org.pentaho.reporting.libraries.xmlns.writer.XmlWriter xmlWriter)
Creates a new writer. |
Method Summary | |
---|---|
void |
write()
Writes the XML. |
void |
writeFactory(String tagName,
Iterator it)
Writes a factory element. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
public ParserConfigWriter(ReportWriterContext reportWriter, org.pentaho.reporting.libraries.xmlns.writer.XmlWriter xmlWriter)
reportWriter
- the report writer.Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |