RenderingContext
public class AFPRenderingContext extends AbstractRenderingContext
Constructor | Description |
---|---|
AFPRenderingContext(FOUserAgent userAgent,
AFPResourceManager resourceManager,
AFPPaintingState paintingState,
FontInfo fontInfo,
java.util.Map foreignAttributes) |
Main constructor.
|
Modifier and Type | Method | Description |
---|---|---|
FontInfo |
getFontInfo() |
Returns the font list.
|
java.util.Map |
getForeignAttributes() |
Returns a Map of foreign attributes.
|
java.lang.String |
getMimeType() |
Returns the MIME type associated with the current output format.
|
AFPPaintingState |
getPaintingState() |
|
AFPResourceManager |
getResourceManager() |
Returns the resource manager.
|
getHint, getHints, getUserAgent, putHint, putHints
public AFPRenderingContext(FOUserAgent userAgent, AFPResourceManager resourceManager, AFPPaintingState paintingState, FontInfo fontInfo, java.util.Map foreignAttributes)
userAgent
- the user agentresourceManager
- the resource managerpaintingState
- the painting statefontInfo
- the font listforeignAttributes
- a map of foreign attributespublic java.lang.String getMimeType()
public AFPResourceManager getResourceManager()
public AFPPaintingState getPaintingState()
public FontInfo getFontInfo()
public java.util.Map getForeignAttributes()
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.