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 voidconfigure(IFDocumentHandler documentHandler)Configures a intermediate format document handler.protected FontCollectiongetCustomFontCollection(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: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
protected java.util.List<FontCollection> getDefaultFontCollection()
- Specified by:
getDefaultFontCollectionin classPrintRendererConfigurator
-
getCustomFontCollection
protected FontCollection getCustomFontCollection(InternalResourceResolver uriResolverWrapper, java.lang.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
-
-