> From: TREGAN Fabien [mailto:[EMAIL PROTECTED]]
> 
> Have someone allready coded a serializer that :
> 1. use another serializer for, hem, serialization

You want to delegate? That's non issue. Just implement Composable.


> 2. call a 'ByteStreamTransformer' that works on the produced stream
> 
> Exemple of such a thing would be to add a copyright on every picture
in a
> photo site (or to write 'DEMO' in red if the user is not paying), to
make a
> .zip from the .pdf serialization, to cipher the output file, to use
3thrd
> party JPG->TIFF convertor instead of writing own SVG->TIFF...
>
> Of course that would look like extending pipe to non-xml data, and I
don't
> like that much...  Should a ByteStreamTransformer be defined out of C2
> webapp (using servlet chaining to get the serializer's result) ?
Maybe, but
> that would mean to have another .xmap that define non-xml pipes...

Try servlet filters. Recently there was a discussion about gzip filter.

Vadim

> 
> BTW if someone have a working sample of such a thing, let me know :)
> 
> fabien.
> 


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to