|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jrefinery.report.io.ext.writer.AbstractXMLDefinitionWriter
com.jrefinery.report.io.ext.writer.FunctionsWriter
An XML definition writer that outputs the functions.
Field Summary |
Fields inherited from class com.jrefinery.report.io.ext.writer.AbstractXMLDefinitionWriter |
CLOSE, CLOSE_TAG_DECREASE, INDENT_ONLY, OPEN, OPEN_TAG_INCREASE |
Constructor Summary | |
FunctionsWriter(ReportWriter reportWriter,
int indentLevel)
Creates a new writer. |
Method Summary | |
void |
write(java.io.Writer writer)
Writes the functions to XML. |
void |
writeExpressions(java.io.Writer writer,
ExpressionCollection exp)
Writes a collection of functions/expressions to XML. |
Methods inherited from class com.jrefinery.report.io.ext.writer.AbstractXMLDefinitionWriter |
decreaseIndent, getIndentLevel, getLineSeparator, getReport, getReportWriter, getSafeTags, increaseIndent, indent, normalize, writeCloseTag, writeTag, writeTag, writeTag |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FunctionsWriter(ReportWriter reportWriter, int indentLevel)
reportWriter
- the report writer.indentLevel
- the current indention level.Method Detail |
public void write(java.io.Writer writer) throws java.io.IOException, ReportWriterException
write
in class AbstractXMLDefinitionWriter
writer
- the writer.
java.io.IOException
- if there is an I/O problem.
ReportWriterException
- if the report function definition could not be written.public void writeExpressions(java.io.Writer writer, ExpressionCollection exp) throws java.io.IOException
writer
- the writer.exp
- the collection.
java.io.IOException
- if there is an I/O problem.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |