cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <>
Subject RE: Transformation AFTER serialization.
Date Wed, 20 Mar 2002 15:45:30 GMT
> From: TREGAN Fabien []
> 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
> party JPG->TIFF convertor instead of writing own SVG->TIFF...
> Of course that would look like extending pipe to non-xml data, and I
> 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.


> 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. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message