public class AFPRendererConfigurator extends PrintRendererConfigurator implements IFDocumentHandlerConfigurator
log
userAgent
Constructor and Description |
---|
AFPRendererConfigurator(FOUserAgent userAgent)
Default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
configure(IFDocumentHandler documentHandler)
Configures a intermediate format document handler.
|
void |
configure(Renderer renderer)
Configure the AFP renderer.
|
void |
setupFontInfo(IFDocumentHandler documentHandler,
FontInfo fontInfo)
Sets up the
FontInfo object for the IFDocumentHandler. |
buildFontList
getRendererConfig, getRendererConfig, getType
getConfig
public AFPRendererConfigurator(FOUserAgent userAgent)
userAgent
- user agentpublic void configure(Renderer renderer) throws FOPException
configure
in interface RendererConfigurator
configure
in class PrintRendererConfigurator
renderer
- AFP rendererFOPException
- fop exceptionPrintRendererConfigurator.configure(Renderer)
public void configure(IFDocumentHandler documentHandler) throws FOPException
configure
in interface IFDocumentHandlerConfigurator
configure
in class PrintRendererConfigurator
documentHandler
- the document handler instanceFOPException
- if an error occurs while configuring the objectpublic void setupFontInfo(IFDocumentHandler documentHandler, FontInfo fontInfo) throws FOPException
FontInfo
object for the IFDocumentHandler.setupFontInfo
in interface IFDocumentHandlerConfigurator
setupFontInfo
in class PrintRendererConfigurator
documentHandler
- the document handler instancefontInfo
- the font info object to set upFOPException
- if an error occurs while configuring the objectCopyright 1999-2010 The Apache Software Foundation. All Rights Reserved.