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
AFP Renderer configurator
-
Field Summary
Fields inherited from class org.apache.fop.render.AbstractRendererConfigurator
userAgent -
Constructor Summary
ConstructorsConstructorDescriptionAFPRendererConfigurator(FOUserAgent userAgent, RendererConfig.RendererConfigParser rendererConfigParser) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(IFDocumentHandler documentHandler) Configures a intermediate format document handler.protected FontCollectiongetCustomFontCollection(InternalResourceResolver uriResolverWrapper, String mimeType) Returns the font collection for custom configured fonts.protected List<FontCollection> Methods inherited from class org.apache.fop.render.PrintRendererConfigurator
configure, createCollectionFromFontList, createDefaultInstance, getRendererConfig, getRendererConfig, getRendererConfig, setupFontInfoMethods inherited from class org.apache.fop.render.AbstractRendererConfigurator
getType
-
Constructor Details
-
AFPRendererConfigurator
public AFPRendererConfigurator(FOUserAgent userAgent, RendererConfig.RendererConfigParser rendererConfigParser) Default constructor- Parameters:
userAgent- user agent
-
-
Method Details
-
configure
Description copied from class:PrintRendererConfiguratorConfigures a intermediate format document handler.- Specified by:
configurein interfaceIFDocumentHandlerConfigurator- Overrides:
configurein classPrintRendererConfigurator- Parameters:
documentHandler- the document handler instance- Throws:
FOPException- if an error occurs while configuring the object
-
getDefaultFontCollection
- Specified by:
getDefaultFontCollectionin classPrintRendererConfigurator
-
getCustomFontCollection
protected FontCollection getCustomFontCollection(InternalResourceResolver uriResolverWrapper, String mimeType) throws FOPException Description copied from class:PrintRendererConfiguratorReturns the font collection for custom configured fonts.- Overrides:
getCustomFontCollectionin classPrintRendererConfigurator- Parameters:
uriResolverWrapper- the resource resolvermimeType- the renderer MIME type- Returns:
- the font collection
- Throws:
FOPException- if an error occurs
-