com.jrefinery.report.io.ext.writer
Class ReportDefinitionWriter

java.lang.Object
  |
  +--com.jrefinery.report.io.ext.writer.AbstractXMLDefinitionWriter
        |
        +--com.jrefinery.report.io.ext.writer.ReportDefinitionWriter

public class ReportDefinitionWriter
extends AbstractXMLDefinitionWriter

A report definition writer.

Author:
Thomas Morgner.

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
ReportDefinitionWriter(ReportWriter writer)
          Creates a new writer.
 
Method Summary
 void write(java.io.Writer w)
          Writes a report definition to a character stream writer.
 
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

ReportDefinitionWriter

public ReportDefinitionWriter(ReportWriter writer)
Creates a new writer.

Parameters:
writer - the report writer.
Method Detail

write

public void write(java.io.Writer w)
           throws java.io.IOException,
                  ReportWriterException
Writes a report definition to a character stream writer. After the standard XML header and the opening tag is written, this class delegates work to:

Specified by:
write in class AbstractXMLDefinitionWriter
Parameters:
w - the character stream writer.
Throws:
java.io.IOException - if there is an I/O problem.
ReportWriterException - if there is a problem writing the report.