|
Jacson | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.spieleck.app.jacson.report.PrintingReport
de.spieleck.app.jacson.report.XMLReport
Light Report, that renders the output in a (nearly)
correct XML.
More experimental.
For a truely conformant XML use the XSLTReport
without specifying a transformer (i.e. identity transformatiom).
This handles encoding correctly.
| Field Summary |
| Fields inherited from class de.spieleck.app.jacson.report.PrintingReport |
begins, FILENAME_NODE, pw |
| Constructor Summary | |
XMLReport()
|
|
| Method Summary | |
void |
begin(java.lang.String id)
Begin a subsection within report |
void |
end()
Close a subsection within a report |
void |
finish(boolean close)
Finish and optionally close the underlying resources |
void |
init(ConfigNode config)
Initialize the report. |
void |
report(java.lang.String localName,
java.lang.String value)
Report a single name value pair within a report |
| Methods inherited from class de.spieleck.app.jacson.report.PrintingReport |
accept, finish, getPrintWriter, getRegState, registerState, setOutputStream, setPrintWriter, useFilename, useFilename |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XMLReport()
| Method Detail |
public void init(ConfigNode config)
throws JacsonConfigException
JacsonReportConfigNode can be used to obtain
configuration information of the report from the global
config xml.
init in interface JacsonReportinit in class PrintingReportJacsonConfigExceptionpublic void begin(java.lang.String id)
JacsonReport
begin in interface JacsonReportbegin in class PrintingReport
public void report(java.lang.String localName,
java.lang.String value)
JacsonReport
report in interface JacsonReportreport in class PrintingReportpublic void end()
JacsonReport
end in interface JacsonReportend in class PrintingReportpublic void finish(boolean close)
JacsonReport
finish in interface JacsonReportfinish in class PrintingReport
|
Spieleck | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||