cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: Transformation AFTER serialization.
Date Wed, 20 Mar 2002 15:45:30 GMT
> From: TREGAN Fabien [mailto:fabien.tregan@airbus.aeromatra.com]
> 
> 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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message