org.apache.fop.render

Class AbstractRendererConfigurator

Known Direct 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 Log
log
logger instance
protected FOUserAgent
userAgent
fop factory configuration

Constructor Summary

AbstractRendererConfigurator(FOUserAgent userAgent)
Default constructor

Method Summary

static Configuration
getRendererConfig(FOUserAgent userAgent, String mimeType)
Returns the configuration subtree for a specific renderer.
protected Configuration
getRendererConfig(Renderer renderer)
Returns the configuration subtree for a specific renderer.

Field Details

log

protected static Log log
logger instance

userAgent

protected FOUserAgent userAgent
fop factory configuration

Constructor Details

AbstractRendererConfigurator

public AbstractRendererConfigurator(FOUserAgent userAgent)
Default constructor
Parameters:
userAgent - user agent

Method Details

getRendererConfig

public static Configuration getRendererConfig(FOUserAgent userAgent,
                                              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

getRendererConfig

protected 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

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