| java.lang.Object org.apache.cocoon.components.renderer.ExtendableRendererFactory
ExtendableRendererFactory | public class ExtendableRendererFactory implements RendererFactory(Code) | | An extendable FOP Renderer factory.
When given a MIME type, find a Renderer which supports that MIME
type. This factory is extendable as new Renderer s can
be added at runtime.
author: Davanum Srinivas version: CVS $Id: ExtendableRendererFactory.java 433543 2006-08-22 06:22:54Z crossley $ |
renderers | final protected static Map renderers(Code) | | |
addRenderer | public void addRenderer(String mimeType, Class rendererClass)(Code) | | Add a mapping from the specified MIME type to a renderer.
Note: The renderer must have a no-argument constructor.
Parameters: mimeType - The MIME type of the Renderer Parameters: rendererClass - The Class object for the Renderer. |
createRenderer | public Renderer createRenderer(String mimeType)(Code) | | Create a renderer for a specified MIME type.
Parameters: mimeType - The MIME type of the destination format A suitable renderer, or null if one cannot be found |
getRendererFactoryImplementation | final public static RendererFactory getRendererFactoryImplementation()(Code) | | Get a reference to this Renderer Factory.
|
removeRenderer | public void removeRenderer(String mimeType)(Code) | | Remove the mapping from a specified MIME type.
Parameters: mimeType - The MIME type to remove from the mapping. |
|
|