Package org.apache.fop.render.bitmap
Class BitmapRendererConfig.BitmapRendererConfigParser
java.lang.Object
org.apache.fop.render.bitmap.BitmapRendererConfig.BitmapRendererConfigParser
- All Implemented Interfaces:
RendererConfig.RendererConfigParser
- Direct Known Subclasses:
TIFFRendererConfig.TIFFRendererConfigParser
- Enclosing class:
BitmapRendererConfig
public static class BitmapRendererConfig.BitmapRendererConfigParser
extends Object
implements RendererConfig.RendererConfigParser
The parser for the Bitmap renderer configuration data.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild
(FOUserAgent userAgent, Configuration cfg) Builds the object that contains the renderer configuration data.(package private) void
build
(BitmapRendererConfig config, FOUserAgent userAgent, Configuration cfg) private Integer
private Configuration
getChild
(Configuration cfg, BitmapRendererOption option) The MIME type of the renderer.private String
getValue
(Configuration cfg, BitmapRendererOption option) private void
setParam
(BitmapRendererConfig config, BitmapRendererOption option, Object value)
-
Field Details
-
mimeType
-
-
Constructor Details
-
BitmapRendererConfigParser
-
-
Method Details
-
setParam
-
build
void build(BitmapRendererConfig config, FOUserAgent userAgent, Configuration cfg) throws FOPException - Throws:
FOPException
-
build
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
-
getBufferedImageIntegerFromColor
-
getChild
-
getValue
-
getMimeType
Description copied from interface:RendererConfig.RendererConfigParser
The MIME type of the renderer.- Specified by:
getMimeType
in interfaceRendererConfig.RendererConfigParser
- Returns:
- the mime type
-