org.jfree.layouting.normalizer.displaymodel

Interface ModelBuilder

public interface ModelBuilder extends StatefullComponent

The model builder is the second stage in the layout process. The builder receives events from the Normalizer and builds a normalized displayable logical model. Although still working on a logical document model, this model is already bound to the constraints of the underlying renderer. Each generated element has information on which logical page it will be rendered (by looking at the page style name); depending on the output target, it might even know the physical page already (including the page number). (The PageInformation is initiated by the Normalizer.) The ModelBuilder is responsible to manage the moved content.

Author: Thomas Morgner

Method Summary
voidaddContent(ContentToken content)
voidendDocument()
voidendElement()
RenderergetRenderer()
voidhandlePageBreak(PageContext pageContext)
voidstartDocument(PageContext pageContext)
voidstartElement(LayoutContext layoutContext)

Method Detail

addContent

public void addContent(ContentToken content)

endDocument

public void endDocument()

endElement

public void endElement()

getRenderer

public Renderer getRenderer()

handlePageBreak

public void handlePageBreak(PageContext pageContext)

startDocument

public void startDocument(PageContext pageContext)

startElement

public void startElement(LayoutContext layoutContext)