IFDocumentHandlerConfigurator
public class AFPRendererConfigurator extends PrintRendererConfigurator
userAgent
Constructor | Description |
---|---|
AFPRendererConfigurator(FOUserAgent userAgent,
RendererConfig.RendererConfigParser rendererConfigParser) |
Default constructor
|
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() |
getType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
configure, createCollectionFromFontList, createDefaultInstance, getRendererConfig, getRendererConfig, getRendererConfig, setupFontInfo
public AFPRendererConfigurator(FOUserAgent userAgent, RendererConfig.RendererConfigParser rendererConfigParser)
userAgent
- user agentpublic void configure(IFDocumentHandler documentHandler) throws FOPException
PrintRendererConfigurator
configure
in interface IFDocumentHandlerConfigurator
configure
in class PrintRendererConfigurator
documentHandler
- the document handler instanceFOPException
- if an error occurs while configuring the objectprotected java.util.List<FontCollection> getDefaultFontCollection()
getDefaultFontCollection
in class PrintRendererConfigurator
protected FontCollection getCustomFontCollection(InternalResourceResolver uriResolverWrapper, java.lang.String mimeType) throws FOPException
PrintRendererConfigurator
getCustomFontCollection
in class PrintRendererConfigurator
uriResolverWrapper
- the resource resolvermimeType
- the renderer MIME typeFOPException
- if an error occursCopyright 1999-2016 The Apache Software Foundation. All Rights Reserved.