|
Jacson | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.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
JacsonReport
ConfigNode
can be used to obtain
configuration information of the report from the global
config xml.
init
in interface JacsonReport
init
in class PrintingReport
JacsonConfigException
public void begin(java.lang.String id)
JacsonReport
begin
in interface JacsonReport
begin
in class PrintingReport
public void report(java.lang.String localName, java.lang.String value)
JacsonReport
report
in interface JacsonReport
report
in class PrintingReport
public void end()
JacsonReport
end
in interface JacsonReport
end
in class PrintingReport
public void finish(boolean close)
JacsonReport
finish
in interface JacsonReport
finish
in class PrintingReport
|
Spieleck | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |