|
Jacson | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A Report, that is something that takes certain events
and know where to put it. This was kind of inspired of
SAX(1) and is a very tiny event API. The intelligence
has to be in the implementation underneath.
Reports distributed with Jacson reside in
the de.spieleck.app.jacson.report package.
The lifecycle of a report is documented
elsewhere. In short
it is:
| Method Summary | |
void |
begin(java.lang.String id)
Begin a subsection within report |
void |
end()
Close a subsection within a report |
void |
finish()
Finish and close underlying resources |
void |
finish(boolean close)
Finish and optionally close the underlying resources |
JacsonState |
getRegState()
returns the set JacsonState |
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 interface de.spieleck.app.jacson.JacsonStately |
registerState |
| Method Detail |
public void init(ConfigNode config)
throws JacsonConfigException
ConfigNode can be used to obtain
configuration information of the report from the global
config xml.
JacsonConfigExceptionpublic void finish()
public void finish(boolean close)
close - flag whether to close resources or not.public void begin(java.lang.String id)
public void report(java.lang.String localName,
java.lang.String value)
public void end()
public JacsonState getRegState()
|
Spieleck | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||