Package org.apache.fop.render.bitmap
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
public class PNGDocumentHandler extends AbstractBitmapDocumentHandler
IFDocumentHandlerimplementation that produces PNG files.
-
-
Field Summary
-
Fields inherited from class org.apache.fop.render.bitmap.AbstractBitmapDocumentHandler
TARGET_BITMAP_SIZE
-
Fields inherited from class org.apache.fop.render.intermediate.AbstractBinaryWritingIFDocumentHandler
fontInfo, outputStream
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IFDocumentHandlerConfiguratorgetConfigurator()Returns the configurator for this document handler, if any.java.lang.StringgetDefaultExtension()Returns the default file extension for the supported image type.java.lang.StringgetMimeType()Returns the MIME type of the output format that is generated by this implementation.-
Methods inherited from class org.apache.fop.render.bitmap.AbstractBitmapDocumentHandler
createBufferedImage, endDocument, endDocumentHeader, endPage, endPageContent, endPageSequence, getSettings, handleExtensionObject, setDefaultFontInfo, setTargetBitmapSize, startDocument, startPage, startPageContent, startPageSequence, supportsPagesOutOfOrder
-
Methods inherited from class org.apache.fop.render.intermediate.AbstractBinaryWritingIFDocumentHandler
getFontInfo, setFontInfo, setResult
-
Methods inherited from class org.apache.fop.render.intermediate.AbstractIFDocumentHandler
endDocumentTrailer, endPageHeader, endPageTrailer, getContext, getDocumentNavigationHandler, getStructureTreeEventHandler, getUserAgent, setDocumentLocale, startDocumentHeader, startDocumentTrailer, startPageHeader, startPageTrailer
-
-
-
-
Method Detail
-
getMimeType
public java.lang.String 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
public java.lang.String getDefaultExtension()
Returns the default file extension for the supported image type.- Specified by:
getDefaultExtensionin classAbstractBitmapDocumentHandler- Returns:
- the default file extension (ex. "png")
-
getConfigurator
public IFDocumentHandlerConfigurator 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
-
-