Class PNGDocumentHandler
java.lang.Object
org.apache.fop.render.intermediate.AbstractIFDocumentHandler
org.apache.fop.render.intermediate.AbstractBinaryWritingIFDocumentHandler
org.apache.fop.render.bitmap.AbstractBitmapDocumentHandler
org.apache.fop.render.bitmap.PNGDocumentHandler
- All Implemented Interfaces:
IFDocumentHandler
IFDocumentHandler implementation
that produces PNG files.-
Field Summary
Fields inherited from class AbstractBitmapDocumentHandler
TARGET_BITMAP_SIZEFields inherited from class AbstractBinaryWritingIFDocumentHandler
fontInfo, outputStream -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the configurator for this document handler, if any.Returns the default file extension for the supported image type.Returns the MIME type of the output format that is generated by this implementation.Methods inherited from class AbstractBitmapDocumentHandler
createBufferedImage, endDocument, endDocumentHeader, endPage, endPageContent, endPageSequence, getSettings, handleExtensionObject, setDefaultFontInfo, setTargetBitmapSize, startDocument, startPage, startPageContent, startPageSequence, supportsPagesOutOfOrderMethods inherited from class AbstractBinaryWritingIFDocumentHandler
getFontInfo, setFontInfo, setResult
-
Constructor Details
-
PNGDocumentHandler
PNGDocumentHandler(IFContext context)
-
-
Method Details
-
getMimeType
Returns the MIME type of the output format that is generated by this implementation.- Specified by:
getMimeTypein interfaceIFDocumentHandler- Specified by:
getMimeTypein classAbstractBitmapDocumentHandler- Returns:
- the MIME type
-
getDefaultExtension
Returns the default file extension for the supported image type.- Specified by:
getDefaultExtensionin classAbstractBitmapDocumentHandler- Returns:
- the default file extension (ex. "png")
-
getConfigurator
Returns the configurator for this document handler, if any.- Specified by:
getConfiguratorin interfaceIFDocumentHandler- Specified by:
getConfiguratorin classAbstractBitmapDocumentHandler- Returns:
- the configurator or null if there's no configurator
-