fop 0.95

org.apache.fop.render
Class AbstractRendererConfigurator

java.lang.Object
  extended by org.apache.fop.render.AbstractRendererConfigurator
Direct Known Subclasses:
PrintRendererConfigurator, XMLHandlerConfigurator

public abstract class AbstractRendererConfigurator
extends java.lang.Object

Abstract base classes for renderer-related configurator classes. This class basically just provides an accessor to the specific renderer configuration object.


Field Summary
protected static org.apache.commons.logging.Log log
          logger instance
protected  FOUserAgent userAgent
          fop factory configuration
 
Constructor Summary
AbstractRendererConfigurator(FOUserAgent userAgent)
          Default constructor
 
Method Summary
static org.apache.avalon.framework.configuration.Configuration getRendererConfig(FOUserAgent userAgent, java.lang.String mimeType)
          Returns the configuration subtree for a specific renderer.
protected  org.apache.avalon.framework.configuration.Configuration getRendererConfig(Renderer renderer)
          Returns the configuration subtree for a specific renderer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.apache.commons.logging.Log log
logger instance


userAgent

protected FOUserAgent userAgent
fop factory configuration

Constructor Detail

AbstractRendererConfigurator

public AbstractRendererConfigurator(FOUserAgent userAgent)
Default constructor

Parameters:
userAgent - user agent
Method Detail

getRendererConfig

protected org.apache.avalon.framework.configuration.Configuration getRendererConfig(Renderer renderer)
Returns the configuration subtree for a specific renderer.

Parameters:
renderer - the renderer
Returns:
the requested configuration subtree, null if there's no configuration

getRendererConfig

public static org.apache.avalon.framework.configuration.Configuration getRendererConfig(FOUserAgent userAgent,
                                                                                        java.lang.String mimeType)
Returns the configuration subtree for a specific renderer.

Parameters:
userAgent - the user agent containing the user configuration
mimeType - the MIME type of the renderer
Returns:
the requested configuration subtree, null if there's no configuration

fop 0.95

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