org.pentaho.reporting.engine.classic.core.layout.output
Class AbstractOutputProcessor

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.layout.output.AbstractOutputProcessor
All Implemented Interfaces:
OutputProcessor
Direct Known Subclasses:
AbstractPageableOutputProcessor, AbstractTableOutputProcessor

public abstract class AbstractOutputProcessor
extends Object
implements OutputProcessor

Creation-Date: 09.04.2007, 10:51:30

Author:
Thomas Morgner

Method Summary
 LogicalPageKey getLogicalPage(int page)
           
 int getLogicalPageCount()
           
 int getPageCursor()
           
 int getPhysicalPageCount()
           
 boolean isNeedAlignedPage()
           
 boolean isPaginationFinished()
          Checks whether the 'processingFinished' event had been received at least once.
 void processContent(LogicalPageBox logicalPage)
          A call-back that passes a layouted pagebox to the output processor.
 void processingFinished()
          Notifies the output processor, that the processing has been finished and that the input-feed received the last event.
 void processRecomputedContent(LogicalPageBox pageBox)
           
 void setPageCursor(int pageCursor)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.pentaho.reporting.engine.classic.core.layout.output.OutputProcessor
getMetaData
 

Method Detail

getLogicalPageCount

public final int getLogicalPageCount()
Specified by:
getLogicalPageCount in interface OutputProcessor

getLogicalPage

public final LogicalPageKey getLogicalPage(int page)
Specified by:
getLogicalPage in interface OutputProcessor

isPaginationFinished

public final boolean isPaginationFinished()
Checks whether the 'processingFinished' event had been received at least once.

Specified by:
isPaginationFinished in interface OutputProcessor
Returns:

processingFinished

public final void processingFinished()
Notifies the output processor, that the processing has been finished and that the input-feed received the last event.

Specified by:
processingFinished in interface OutputProcessor

getPageCursor

public final int getPageCursor()
Specified by:
getPageCursor in interface OutputProcessor

setPageCursor

public final void setPageCursor(int pageCursor)
Specified by:
setPageCursor in interface OutputProcessor

processRecomputedContent

public void processRecomputedContent(LogicalPageBox pageBox)
                              throws ContentProcessingException
Specified by:
processRecomputedContent in interface OutputProcessor
Throws:
ContentProcessingException

processContent

public final void processContent(LogicalPageBox logicalPage)
                          throws ContentProcessingException
Description copied from interface: OutputProcessor
A call-back that passes a layouted pagebox to the output processor.

Specified by:
processContent in interface OutputProcessor
Throws:
ContentProcessingException

isNeedAlignedPage

public boolean isNeedAlignedPage()
Specified by:
isNeedAlignedPage in interface OutputProcessor

getPhysicalPageCount

public int getPhysicalPageCount()
Specified by:
getPhysicalPageCount in interface OutputProcessor