org.apache.fop.render
Class AbstractRendererMaker
java.lang.Object
org.apache.fop.render.AbstractRendererMaker
public abstract class AbstractRendererMaker
extends java.lang.Object
Base class for factory classes which instantiate Renderers and provide information
about them.
getConfigurator
public RendererConfigurator getConfigurator(FOUserAgent userAgent)
Returns a renderer config object that can be used to
configure the renderer.
- a config object that can be used to configure the renderer
getSupportedMimeTypes
public abstract String[] getSupportedMimeTypes()
- an array of MIME types the renderer supports.
isMimeTypeSupported
public boolean isMimeTypeSupported(String mimeType)
Indicates whether a specific MIME type is supported by this renderer.
mimeType
- the MIME type (ex. "application/pdf")
- true if the MIME type is supported
makeRenderer
public abstract Renderer makeRenderer(FOUserAgent userAgent)
Instantiates a new renderer.
userAgent
- the user agent
- the newly instantiated renderer
needsOutputStream
public abstract boolean needsOutputStream()
- Indicates whether this renderer requires an OutputStream to work with.
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.