org.jfree.layouting.output.pageable

Interface PageableOutputProcessor

public interface PageableOutputProcessor extends OutputProcessor

A pageable processor generates zero or more *pysical* pages per event. For the sake of performance, an PageableOutputProcessor should implement some sort of caching so that requesting pages from the same chunk does not result in a full recomputation.

For each logical page, a set of one or more physical pages is generated. The pageable output processor allows to query pages by their logical page number and by their physical number.

The page content should not be exposed to the caller.

An output processor has a page cursor attached. The cursor is used to synchronize restarted input-feeds with the current output state.

Author: Thomas Morgner

Method Summary
PhysicalPageKeygetPhysicalPage(int page)
intgetPhysicalPageCount()

Method Detail

getPhysicalPage

public PhysicalPageKey getPhysicalPage(int page)

getPhysicalPageCount

public int getPhysicalPageCount()