- All Superinterfaces:
- KentModule, com.dghda.module.Module
- public interface Report
- extends KentModule
The interface all reports must implement.
A report's output consists of a report template and report data. The
template contains layout and formatting information (which will not change
between runs), while the data is the row and column information, which will
tend to change between runs. Both the template and the data may be affected
by altering report configuration settings.
The template/data seperation is similar to that in the Kugar application (a
part of the KOffice suite).
The report template document structure is described in the file
dtd/template.dtd.
| Nested classes inherited from class com.dghda.module.Module |
com.dghda.module.Module.ModuleVersion |
getReportTemplate
public java.lang.String getReportTemplate(java.util.Properties config)
throws ReportingException
- Returns the report template with the given configuration options.
getReportData
public java.lang.String getReportData(java.util.Properties config)
throws ReportingException
- Runs the report with the given configuration options.
The XML returned will be processed in accordance with the report's template.