Package org.apache.fop.render.pcl
Class PCLRendererConfig.PCLRendererConfigParser
- java.lang.Object
-
- org.apache.fop.render.pcl.PCLRendererConfig.PCLRendererConfigParser
-
- All Implemented Interfaces:
RendererConfig.RendererConfigParser
- Enclosing class:
- PCLRendererConfig
public static final class PCLRendererConfig.PCLRendererConfigParser extends java.lang.Object implements RendererConfig.RendererConfigParser
The PCL renderer configuration data parser.
-
-
Constructor Summary
Constructors Constructor Description PCLRendererConfigParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PCLRendererConfigbuild(FOUserAgent userAgent, Configuration cfg)Builds the object that contains the renderer configuration data.private voidconfigure(Configuration cfg, PCLRendererConfig config)java.lang.StringgetMimeType()The MIME type of the renderer.
-
-
-
Method Detail
-
build
public PCLRendererConfig build(FOUserAgent userAgent, Configuration cfg) throws FOPException
Builds the object that contains the renderer configuration data.- Specified by:
buildin 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
-
configure
private void configure(Configuration cfg, PCLRendererConfig config) throws FOPException
- Throws:
FOPException
-
getMimeType
public java.lang.String getMimeType()
The MIME type of the renderer.- Specified by:
getMimeTypein interfaceRendererConfig.RendererConfigParser- Returns:
- the mime type
-
-