| |
|
| java.lang.Object org.apache.cocoon.components.transcoder.ExtendableTranscoderFactory
ExtendableTranscoderFactory | public class ExtendableTranscoderFactory implements TranscoderFactory(Code) | | An extendable Batik Transcoder factory.
When given a MIME type, find a Transcoder which supports that MIME
type. This factory is extendable as new Transcoder s can
be added at runtime.
author: Ross Burton version: CVS $Id: ExtendableTranscoderFactory.java 433543 2006-08-22 06:22:54Z crossley $ |
transcoders | final protected static Map transcoders(Code) | | |
addTranscoder | public void addTranscoder(String mimeType, Class transcoderClass)(Code) | | Add a mapping from the specified MIME type to a transcoder.
Note: The transcoder must have a no-argument constructor.
Parameters: mimeType - The MIME type of the Transcoder Parameters: transcoderClass - The Class object for the Transcoder. |
createTranscoder | public Transcoder createTranscoder(String mimeType)(Code) | | Create a transcoder for a specified MIME type.
Parameters: mimeType - The MIME type of the destination format A suitable transcoder, or null if one cannot be found |
getTranscoderFactoryImplementation | final public static TranscoderFactory getTranscoderFactoryImplementation()(Code) | | Get a reference to this Transcoder Factory.
|
removeTranscoder | public void removeTranscoder(String mimeType)(Code) | | Remove the mapping from a specified MIME type.
Parameters: mimeType - The MIME type to remove from the mapping. |
|
|
|