Package org.apache.fop.render.afp
Class AFPRendererConfigurator
- java.lang.Object
-
- org.apache.fop.render.AbstractRendererConfigurator
-
- org.apache.fop.render.PrintRendererConfigurator
-
- org.apache.fop.render.afp.AFPRendererConfigurator
-
- All Implemented Interfaces:
IFDocumentHandlerConfigurator
public class AFPRendererConfigurator extends PrintRendererConfigurator
AFP Renderer configurator
-
-
Field Summary
-
Fields inherited from class org.apache.fop.render.AbstractRendererConfigurator
userAgent
-
-
Constructor Summary
Constructors Constructor Description AFPRendererConfigurator(FOUserAgent userAgent, RendererConfig.RendererConfigParser rendererConfigParser)
Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(IFDocumentHandler documentHandler)
Configures a intermediate format document handler.protected FontCollection
getCustomFontCollection(InternalResourceResolver uriResolverWrapper, java.lang.String mimeType)
Returns the font collection for custom configured fonts.protected java.util.List<FontCollection>
getDefaultFontCollection()
-
Methods inherited from class org.apache.fop.render.PrintRendererConfigurator
configure, createCollectionFromFontList, createDefaultInstance, getRendererConfig, getRendererConfig, getRendererConfig, setupFontInfo
-
Methods inherited from class org.apache.fop.render.AbstractRendererConfigurator
getType
-
-
-
-
Constructor Detail
-
AFPRendererConfigurator
public AFPRendererConfigurator(FOUserAgent userAgent, RendererConfig.RendererConfigParser rendererConfigParser)
Default constructor- Parameters:
userAgent
- user agent
-
-
Method Detail
-
configure
public void configure(IFDocumentHandler documentHandler) throws FOPException
Description copied from class:PrintRendererConfigurator
Configures a intermediate format document handler.- Specified by:
configure
in interfaceIFDocumentHandlerConfigurator
- Overrides:
configure
in classPrintRendererConfigurator
- Parameters:
documentHandler
- the document handler instance- Throws:
FOPException
- if an error occurs while configuring the object
-
getDefaultFontCollection
protected java.util.List<FontCollection> getDefaultFontCollection()
- Specified by:
getDefaultFontCollection
in classPrintRendererConfigurator
-
getCustomFontCollection
protected FontCollection getCustomFontCollection(InternalResourceResolver uriResolverWrapper, java.lang.String mimeType) throws FOPException
Description copied from class:PrintRendererConfigurator
Returns the font collection for custom configured fonts.- Overrides:
getCustomFontCollection
in classPrintRendererConfigurator
- Parameters:
uriResolverWrapper
- the resource resolvermimeType
- the renderer MIME type- Returns:
- the font collection
- Throws:
FOPException
- if an error occurs
-
-