public abstract class ReportHandler extends java.lang.Object implements DataHandler
Constructor and Description |
---|
ReportHandler() |
Modifier and Type | Method and Description |
---|---|
Cell |
createCell(Column column,
EvaluatedData data)
This method should create the proper cell.
|
protected abstract void |
populate(XMLWriter xml,
Cell cell,
EvaluatedData data,
Report report)
Subclasses implements this method in order to provide the data that is
part of the cell.
|
void |
populateCell(Cell cell,
EvaluatedData data)
This method is invoked, when the evaluator wants us to fill the cell,
with content.
|
protected abstract void |
prepare(Column column,
EvaluationInput input,
Report report)
Subclasses implements this method in order to define select clauses to be
applied on business objects and or connections.
|
void |
prepareEvaluation(Column column,
EvaluationInput input)
This method is invoked by the
Evaluator as a first step in the
evaluation process. |
public final void prepareEvaluation(Column column, EvaluationInput input)
DataHandler
Evaluator
as a first step in the
evaluation process.
The purpose is to allow to add the needed select statements and/or JPO
programs, which are needed to be able to create the cells
later on in the evaluation process.
prepareEvaluation
in interface DataHandler
column
- The current columninput
- The evaluation inputpublic Cell createCell(Column column, EvaluatedData data)
DataHandler
createCell
in interface DataHandler
column
- The columndata
- The evaluated dataStringCell
Cell
public final void populateCell(Cell cell, EvaluatedData data)
DataHandler
populateCell
in interface DataHandler
cell
- The celldata
- The evaluated dataprotected abstract void prepare(Column column, EvaluationInput input, Report report)
column
- The current columninput
- The evaluation input, which you add select statements into.report
- The current report that we are producing data forprotected abstract void populate(XMLWriter xml, Cell cell, EvaluatedData data, Report report)
xml
- The xml writer that we are generating the data into.cell
- The current celldata
- The evaluated/selected datareport
- The current report that we are producing data forCopyright © Technia AB. All Rights Reserved.