[ http://issues.apache.org/jira/browse/COCOON-1508?page=all ]
David Crossley updated COCOON-1508:
-----------------------------------
Bugzilla Id: (was: 34784)
Other Info: [Patch available]
> [PATCH] Avalonize TranscoderFactory
> -----------------------------------
>
> Key: COCOON-1508
> URL: http://issues.apache.org/jira/browse/COCOON-1508
> Project: Cocoon
> Type: Improvement
> Components: Blocks: Batik
> Versions: 2.1.8
> Environment: Operating System: All
> Platform: All
> Reporter: Jochen Kuhnle
> Assignee: Cocoon Developers Team
> Priority: Minor
> Attachments: conf.zip, patch2.txt
>
> TranscoderFactory configures itself in the constructor, where the available
> Transcoders are added through Java code. This patch avalonizes
> TranscoderFactory, so it can be configured in cocoon.roles and cocoon.xconf.
> Basically you can do
> <transcoder-factory>
> <transcoder class="org.apache.batik.transcoder.image.JPEGTranscoder"
> mime-type="image/jpeg"/>
> <transcoder class="org.apache.batik.transcoder.image.JPEGTranscoder"
> mime-type="image/jpg"/>
> <transcoder class="org.apache.batik.transcoder.image.PNGTranscoder"
> mime-type="image/png"/>
> <transcoder class="org.apache.batik.transcoder.image.TIFFTranscoder"
> mime-type="image/tiff"/>
> </transcoder-factory>
> in cocoon.xconf
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira