You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by Ross Burton <ro...@mail.com> on 2001/03/04 17:41:39 UTC

Transcoder Factory

Hi,

I am about to start implementing a transcoder factory from MIME types to
Transcoder for Cocoon 2.  Should this be part of Cocoon 2, or should I
package it as part of org.apache.batik.transcoder?

I am planning to make it extendible, so that new transcoders can be
added at runtime without having to create a new factory.

Regards,
Ross Burton

Re: Transcoder Factory

Posted by Thierry Kormann <tk...@sophia.inria.fr>.
On Sunday 04 March 2001 17:41, you wrote:
> Hi,
>
> I am about to start implementing a transcoder factory from MIME types to
> Transcoder for Cocoon 2.  Should this be part of Cocoon 2, or should I
> package it as part of org.apache.batik.transcoder?
>
> I am planning to make it extendible, so that new transcoders can be
> added at runtime without having to create a new factory.

Well, I don't plan to add a factory for transcoders based on mime-types, at 
this time. In my opinion, this is typically something that could be added by 
an external package following the requirements of a specific application.

So, in conclusion, I think you should design it as part of the cocoon2 
package. Anyway, I am interested in seeing the design you will choose and be 
sure that you don't need something which is not part of the transcoder API.

At last, if many users ask for such an API, I will probably use yours :)

Regards,
Thierry.