cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 34784] New: - Avalonize TranscoderFactory
Date Fri, 06 May 2005 14:14:03 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34784>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34784

           Summary: Avalonize TranscoderFactory
           Product: Cocoon 2
           Version: Current SVN 2.2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: PatchAvailable
          Severity: enhancement
          Priority: P2
         Component: blocks
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: werbung@kuhnle.net


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

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Mime
View raw message