cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jos Snellings <Jos.Snelli...@pandora.be>
Subject Re: pipeline component
Date Thu, 08 Mar 2012 13:52:43 GMT
Thanks Robby & Francesco!

That been said, the use case is a bit special.
In my case the sitemap would have gone involved.
I did not split it up and here's what I did:

public class mycomponent implements Starter, Finisher
{

ZipOutputStream zip_out = new ZipOutputStream(outputStream);
     compose and add requested entries
zip_out.close();
}

and just added setOutputStream() and getContentType()

The question is often where you want to put the complexity.
Granted, defeats a bit the purpose of a pipeline, but it works ;-)

Jos

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message