|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pentaho.reporting.engine.classic.core.modules.parser.extwriter.AbstractXMLDefinitionWriter
org.pentaho.reporting.engine.classic.core.modules.parser.extwriter.FunctionsWriter
public class FunctionsWriter
An XML definition writer that outputs the functions.
| Field Summary | |
|---|---|
static String |
EXPRESSION_TAG
The name of the expression tag. |
static String |
FUNCTION_TAG
The name of the function tag. |
static String |
PROPERTY_REF_TAG
The name of the 'property-ref' tag. |
static String |
STYLE_EXPRESSION_TAG
|
| 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 | |
|---|---|
FunctionsWriter(ReportWriterContext reportWriter,
org.pentaho.reporting.libraries.xmlns.writer.XmlWriter indentLevel)
Creates a new writer. |
|
| Method Summary | |
|---|---|
void |
write()
Writes the functions to XML. |
void |
writeExpressions(ExpressionCollection exp)
Writes a collection of functions/expressions to XML. |
void |
writeStyleExpression(Expression expression,
StyleKey styleKey)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String FUNCTION_TAG
public static final String EXPRESSION_TAG
public static final String STYLE_EXPRESSION_TAG
public static final String PROPERTY_REF_TAG
| Constructor Detail |
|---|
public FunctionsWriter(ReportWriterContext reportWriter,
org.pentaho.reporting.libraries.xmlns.writer.XmlWriter indentLevel)
reportWriter - the report writer.indentLevel - the current indention level.| Method Detail |
|---|
public void write()
throws IOException,
ReportWriterException
write in class AbstractXMLDefinitionWriterIOException - if there is an I/O problem.
ReportWriterException - if the report function definition could not be written.
public void writeExpressions(ExpressionCollection exp)
throws IOException
exp - the collection.
IOException - if there is an I/O problem.
public void writeStyleExpression(Expression expression,
StyleKey styleKey)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||