org.jfree.layouting.normalizer.generator

Class EmptyContentGenerator

public class EmptyContentGenerator extends Object implements ContentGenerator

This one does nothing. (It is used to swallow all calls during the restore process.)

Author: Thomas Morgner

Constructor Summary
EmptyContentGenerator()
Method Summary
voidaddContent(LayoutContext node, ContentToken contentToken)
voidaddPassThroughContent(LayoutContext node, ContentToken token)
voidfinishedBlock()
voidfinishedDocument()
Receives notification, that a new flow has started.
voidfinishedFlow()
voidfinishedInline()
voidfinishedMarker()
voidfinishedPassThrough()
voidfinishedRootInline()
voidfinishedTable()
voidfinishedTableCaption()
voidfinishedTableCell()
voidfinishedTableColumn()
voidfinishedTableColumnGroup()
voidfinishedTableRow()
voidfinishedTableSection()
RenderergetRenderer()
voidhandlePageBreak(PageContext pageContext)
This event handler is triggered by 'LayoutProcess.pageBreakEncountered()'.
StatesaveState()
voidstartedBlock(LayoutContext element)
voidstartedDocument(PageContext pageContext)
Receives the information, that the document processing has been started.
voidstartedFlow(LayoutContext element)
voidstartedInline(LayoutContext element)
voidstartedMarker(LayoutContext element)
voidstartedPassThrough(LayoutContext element)
voidstartedRootInline(LayoutContext element)
voidstartedTable(LayoutContext element)
voidstartedTableCaption(LayoutContext context)
voidstartedTableCell(LayoutContext element)
voidstartedTableColumn(LayoutContext element)
voidstartedTableColumnGroup(LayoutContext element)
voidstartedTableRow(LayoutContext element)
voidstartedTableSection(LayoutContext element)

Constructor Detail

EmptyContentGenerator

public EmptyContentGenerator()

Method Detail

addContent

public void addContent(LayoutContext node, ContentToken contentToken)

addPassThroughContent

public void addPassThroughContent(LayoutContext node, ContentToken token)

finishedBlock

public void finishedBlock()

finishedDocument

public void finishedDocument()
Receives notification, that a new flow has started. A new flow is started for each flowing or absolutly positioned element.

Parameters: box

finishedFlow

public void finishedFlow()

finishedInline

public void finishedInline()

finishedMarker

public void finishedMarker()

finishedPassThrough

public void finishedPassThrough()

finishedRootInline

public void finishedRootInline()

finishedTable

public void finishedTable()

finishedTableCaption

public void finishedTableCaption()

finishedTableCell

public void finishedTableCell()

finishedTableColumn

public void finishedTableColumn()

finishedTableColumnGroup

public void finishedTableColumnGroup()

finishedTableRow

public void finishedTableRow()

finishedTableSection

public void finishedTableSection()

getRenderer

public Renderer getRenderer()

handlePageBreak

public void handlePageBreak(PageContext pageContext)
This event handler is triggered by 'LayoutProcess.pageBreakEncountered()'.

Parameters: pageContext

saveState

public State saveState()

startedBlock

public void startedBlock(LayoutContext element)

startedDocument

public void startedDocument(PageContext pageContext)
Receives the information, that the document processing has been started. This is fired only once.

Parameters: pageContext the page context for the default page.

startedFlow

public void startedFlow(LayoutContext element)

startedInline

public void startedInline(LayoutContext element)

startedMarker

public void startedMarker(LayoutContext element)

startedPassThrough

public void startedPassThrough(LayoutContext element)

startedRootInline

public void startedRootInline(LayoutContext element)

startedTable

public void startedTable(LayoutContext element)

startedTableCaption

public void startedTableCaption(LayoutContext context)

startedTableCell

public void startedTableCell(LayoutContext element)

startedTableColumn

public void startedTableColumn(LayoutContext element)

startedTableColumnGroup

public void startedTableColumnGroup(LayoutContext element)

startedTableRow

public void startedTableRow(LayoutContext element)

startedTableSection

public void startedTableSection(LayoutContext element)