Parameters: target - the report target that receives generated events. the new layout controller instance representing the new state. throws: DataSourceException - if there was a problem reading data fromthe datasource. throws: ReportProcessingException - if there was a general problem duringthe report processing. throws: ReportDataFactoryException - if a query failed.
Finishes the processing of this element. This method is called when the
processing state is 'FINISHING'. The element should be closed now and all
privatly owned resources should be freed. If the element has a parent, it
would be time to join up with the parent now, else the processing state
should be set to 'FINISHED'.
Parameters: target - the report target that receives generated events. the new layout controller instance representing the new state. throws: DataSourceException - if there was a problem reading data fromthe datasource. throws: ReportProcessingException - if there was a general problem during thereport processing. throws: ReportDataFactoryException - if there was an error trying query data.
Retrieves the parent of this layout controller. This allows childs to query
their context.
the layout controller's parent to null if there is noparent.
Initializes the layout controller. This method is called exactly once. It
is the creators responsibility to call this method.
Calling initialize after the first advance must result in a
IllegalStateException.
Parameters: node - the currently processed object or layout node. Parameters: flowController - the current flow controller. Parameters: parent - the parent layout controller that was responsible forinstantiating this controller. throws: DataSourceException - if there was a problem reading data fromthe datasource. throws: ReportProcessingException - if there was a general problem duringthe report processing. throws: ReportDataFactoryException - if a query failed.
Processes any content in this element. This method is called when the
processing state is 'OPENED'. The returned layout controller will retain
the 'OPENED' state as long as there is more content available. Once all
content has been processed, the returned layout controller should carry a
'FINISHED' state.
Parameters: target - the report target that receives generated events. the new layout controller instance representing the new state. throws: DataSourceException - if there was a problem reading data fromthe datasource. throws: ReportProcessingException - if there was a general problem duringthe report processing. throws: ReportDataFactoryException - if a query failed.
This method is called for each newly instantiated layout controller. The
returned layout controller instance should have a processing state of
either 'OPEN' or 'FINISHING' depending on whether there is any content or
any child nodes to process.
Parameters: target - the report target that receives generated events. the new layout controller instance representing the new state. throws: DataSourceException - if there was a problem reading data fromthe datasource. throws: ReportProcessingException - if there was a general problem duringthe report processing. throws: ReportDataFactoryException - if a query failed.