org.jfree.layouting.renderer
Class StreamingRenderer

java.lang.Object
  extended by org.jfree.layouting.renderer.AbstractRenderer
      extended by org.jfree.layouting.renderer.StreamingRenderer
All Implemented Interfaces:
Renderer, StatefullComponent

public class StreamingRenderer
extends AbstractRenderer

A renderer which builds a streaming page model.

Author:
Thomas Morgner

Nested Class Summary
protected static class StreamingRenderer.DefaultFlowRendererState
           
 
Nested classes/interfaces inherited from class org.jfree.layouting.renderer.AbstractRenderer
AbstractRenderer.RendererState
 
Constructor Summary
  StreamingRenderer(LayoutProcess layoutProcess)
           
protected StreamingRenderer(LayoutProcess layoutProcess, boolean init)
           
 
Method Summary
protected  void firePagebreak()
           
 State saveState()
           
protected  void validateOutput()
          Todo: Using this renderer with an non-iterative output processor results in trouble!
 
Methods inherited from class org.jfree.layouting.renderer.AbstractRenderer
addContent, addPassThroughContent, finishedBlock, finishedDocument, finishedFlow, finishedInline, finishedMarker, finishedPassThrough, finishedRootInline, finishedTable, finishedTableCaption, finishedTableCell, finishedTableColumn, finishedTableColumnGroup, finishedTableRow, finishedTableSection, getInsertationPoint, getLayoutProcess, getLogicalPageBox, getPageContext, getRenderPageContext, handlePageBreak, isProcessingNormalFlow, setLayoutFailureReason, startedBlock, startedDocument, startedFlow, startedInline, startedMarker, startedPassThrough, startedRootInline, startedTable, startedTableCaption, startedTableCell, startedTableColumn, startedTableColumnGroup, startedTableRow, startedTableSection, tryValidateOutput
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamingRenderer

protected StreamingRenderer(LayoutProcess layoutProcess,
                            boolean init)

StreamingRenderer

public StreamingRenderer(LayoutProcess layoutProcess)
Method Detail

validateOutput

protected void validateOutput()
                       throws NormalizationException
Todo: Using this renderer with an non-iterative output processor results in trouble!

Specified by:
validateOutput in class AbstractRenderer
Throws:
NormalizationException

firePagebreak

protected void firePagebreak()
                      throws NormalizationException
Throws:
NormalizationException

saveState

public State saveState()
                throws StateException
Throws:
StateException