Package org.apache.fop.render.bitmap
Class PNGRendererConfig.PNGRendererConfigParser
- java.lang.Object
-
- org.apache.fop.render.bitmap.PNGRendererConfig.PNGRendererConfigParser
-
- All Implemented Interfaces:
RendererConfig.RendererConfigParser
- Enclosing class:
- PNGRendererConfig
public static class PNGRendererConfig.PNGRendererConfigParser extends java.lang.Object implements RendererConfig.RendererConfigParser
The PNG renderer configuration parser.
-
-
Constructor Summary
Constructors Constructor Description PNGRendererConfigParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PNGRendererConfig
build(FOUserAgent userAgent, org.apache.avalon.framework.configuration.Configuration cfg)
Builds the object that contains the renderer configuration data.java.lang.String
getMimeType()
The MIME type of the renderer.
-
-
-
Method Detail
-
build
public PNGRendererConfig build(FOUserAgent userAgent, org.apache.avalon.framework.configuration.Configuration cfg) throws FOPException
Description copied from interface:RendererConfig.RendererConfigParser
Builds the object that contains the renderer configuration data.- Specified by:
build
in interfaceRendererConfig.RendererConfigParser
- Parameters:
userAgent
- the user agentcfg
- the Avalon config object for parsing the data- Returns:
- the configuration data object
- Throws:
FOPException
- if an error occurs while parsing the fop conf
-
getMimeType
public java.lang.String getMimeType()
The MIME type of the renderer.- Specified by:
getMimeType
in interfaceRendererConfig.RendererConfigParser
- Returns:
- the mime type
-
-