fop 2.1

org.apache.fop.render.afp
Class AFPRendererConfig.AFPRendererConfigParser

java.lang.Object
  extended by org.apache.fop.render.afp.AFPRendererConfig.AFPRendererConfigParser
All Implemented Interfaces:
RendererConfig.RendererConfigParser
Enclosing class:
AFPRendererConfig

public static final class AFPRendererConfig.AFPRendererConfigParser
extends java.lang.Object
implements RendererConfig.RendererConfigParser

The parser for AFP renderer specific data in the FOP conf.


Constructor Summary
AFPRendererConfig.AFPRendererConfigParser()
           
 
Method Summary
 AFPRendererConfig 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AFPRendererConfig.AFPRendererConfigParser

public AFPRendererConfig.AFPRendererConfigParser()
Method Detail

build

public AFPRendererConfig build(FOUserAgent userAgent,
                               org.apache.avalon.framework.configuration.Configuration cfg)
                        throws FOPException
Builds the object that contains the renderer configuration data.

Specified by:
build in interface RendererConfig.RendererConfigParser
Parameters:
userAgent - the user agent
cfg - 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 interface RendererConfig.RendererConfigParser
Returns:
the mime type

fop 2.1

Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.