|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jrefinery.report.targets.xml.XMLProcessor
The XMLProcessor coordinates the report processing for the XML-Output. This class is responsible to initialize and maintain the XMLWriter, which performs the output process.
The XMLProcessor is not intended to produce complex output, it is an educational example. If you want valid xml data enriched with layouting information, then have a look at the HTML-OutputTarget, this target is also able to write XHTMl code.
Constructor Summary | |
XMLProcessor(JFreeReport report)
Creates a new XMLProcessor. |
Method Summary | |
protected JFreeReport |
getReport()
Returns the XMLProcessors local report instance. |
java.io.Writer |
getWriter()
Returns the writer, which will receive the generated output. |
void |
processReport()
Processes the report. |
void |
setWriter(java.io.Writer writer)
Sets the writer, which will receive the generated output. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XMLProcessor(JFreeReport report) throws ReportProcessingException, FunctionInitializeException
report
- the report that should be processed
ReportProcessingException
- if the report could not be initialized
FunctionInitializeException
- if the writer function could not be initialized.Method Detail |
protected JFreeReport getReport()
public java.io.Writer getWriter()
public void setWriter(java.io.Writer writer)
writer
- that should receive the generated output.public void processReport() throws ReportProcessingException
ReportProcessingException
- if the report processing failed.
java.lang.IllegalStateException
- if there is no writer defined.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |