org.apache.fop.render.xml
Class XMLRenderer


public class XMLRenderer
implements Renderer

Renderer that renders areas to XML for debugging purposes.


Method Summary
 voidrender(AreaTree areaTree, OutputStream stream)
          render the areas into XML
 voidrenderAreaContainer(AreaContainer area)
          render an area container to XML
 voidrenderBlockArea(BlockArea area)
          render a block area to XML
 voidrenderBodyAreaContainer(BodyAreaContainer area)
          render a body area container to XML
 voidrenderDisplaySpace(DisplaySpace space)
          render a display space to XML
 voidrenderForeignObjectArea(ForeignObjectArea area)
          render a foreign object area
 voidrenderImageArea(ImageArea area)
          render an image area to XML
 voidrenderInlineArea(InlineArea area)
          render an inline area to XML
 voidrenderInlineSpace(InlineSpace space)
          render an inline space to XML
 voidrenderLeaderArea(LeaderArea area)
          render a leader area to XML
 voidrenderLineArea(LineArea area)
          render a line area to XML
 voidrenderPage(Page page)
          render a page to XML
 voidrenderSpanArea(SpanArea area)
          render a span area to XML
 voidrenderSVGArea(SVGArea area)
          render an SVG area to XML
 voidsetProducer(String producer)
          set the document's producer
 voidsetupFontInfo(FontInfo fontInfo)
          set up the font info

Method Detail

render

public void render(AreaTree areaTree, OutputStream stream)
throws java.io.IOException
render the areas into XML
Parameters:
areaTree - the laid-out area tree
stream - the OutputStream to give the XML to

renderAreaContainer

public void renderAreaContainer(AreaContainer area)
render an area container to XML
Parameters:
area - the area container to render

renderBlockArea

public void renderBlockArea(BlockArea area)
render a block area to XML
Parameters:
area - the block area to render

renderBodyAreaContainer

public void renderBodyAreaContainer(BodyAreaContainer area)
render a body area container to XML
Parameters:
area - the body area container to render

renderDisplaySpace

public void renderDisplaySpace(DisplaySpace space)
render a display space to XML
Parameters:
space - the space to render

renderForeignObjectArea

public void renderForeignObjectArea(ForeignObjectArea area)
render a foreign object area

renderImageArea

public void renderImageArea(ImageArea area)
render an image area to XML
Parameters:
area - the area to render

renderInlineArea

public void renderInlineArea(InlineArea area)
render an inline area to XML
Parameters:
area - the area to render

renderInlineSpace

public void renderInlineSpace(InlineSpace space)
render an inline space to XML
Parameters:
space - the space to render

renderLeaderArea

public void renderLeaderArea(LeaderArea area)
render a leader area to XML
Parameters:
area - the area to render

renderLineArea

public void renderLineArea(LineArea area)
render a line area to XML
Parameters:
area - the area to render

renderPage

public void renderPage(Page page)
render a page to XML
Parameters:
page - the page to render

renderSpanArea

public void renderSpanArea(SpanArea area)
render a span area to XML
Parameters:
area - the span area to render

renderSVGArea

public void renderSVGArea(SVGArea area)
render an SVG area to XML
Parameters:
area - the area to render

setProducer

public void setProducer(String producer)
set the document's producer
Parameters:
producer - string indicating application producing the XML

setupFontInfo

public void setupFontInfo(FontInfo fontInfo)
set up the font info
Parameters:
fontInfo - the font info object to set up

Association Links

to Class java.lang.String

the application producing the XML

to Class java.io.PrintWriter

the writer used to output the XML