public class AFPRenderingContext extends AbstractRenderingContext
Constructor and Description |
---|
AFPRenderingContext(FOUserAgent userAgent,
AFPResourceManager resourceManager,
AFPPaintingState paintingState,
FontInfo fontInfo,
java.util.Map foreignAttributes)
Main constructor.
|
Modifier and Type | Method and 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 managerfontInfo
- 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-2010 The Apache Software Foundation. All Rights Reserved.