|
Jacson | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.spieleck.app.jacson.report.MultiReport
de.spieleck.app.jacson.report.CascadableReport
An report which dispatches a message to all contained
(possible multiple) reports and one "parent Report".
This class might not be directly usable in applications, but
is an important helper class to enable Jacson to act upon
complete trees of Reports.
| Field Summary | |
protected boolean |
block
Do we really want to cascade. |
protected JacsonReport |
parentReport
Parent report in the cascade. |
| Fields inherited from class de.spieleck.app.jacson.report.MultiReport |
reports |
| Constructor Summary | |
CascadableReport()
|
|
| 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 |
void |
setBlock(boolean block)
Set the block |
void |
setSuperReport(JacsonReport parentReport)
Hook a "parent"-Report. |
| Methods inherited from class de.spieleck.app.jacson.report.MultiReport |
addReport, clear, countReports, finish, getRegState, registerState, setOutputStream, setPrintWriter |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected JacsonReport parentReport
protected boolean block
| Constructor Detail |
public CascadableReport()
| Method Detail |
public void setBlock(boolean block)
public void setSuperReport(JacsonReport parentReport)
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 MultiReportJacsonConfigExceptionpublic void finish(boolean close)
JacsonReport
finish in interface JacsonReportfinish in class MultiReportpublic void begin(java.lang.String id)
JacsonReport
begin in interface JacsonReportbegin in class MultiReport
public void report(java.lang.String localName,
java.lang.String value)
JacsonReport
report in interface JacsonReportreport in class MultiReportpublic void end()
JacsonReport
end in interface JacsonReportend in class MultiReport
|
Spieleck | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||