cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: Pass the content of a pipeline to a flow
Date Mon, 21 May 2007 12:55:03 GMT
ypomonh <ypomonh <at> freemail.gr> writes:

> As far as I understand since processPipelineTo() can only output to a 
> java.io.OutputStream, I can only use it to serialize something on the disk.
> 
> Is it possible to handle this stream inside my flowscript? I am not 
> fluent in java but I think that there is nothing I can really do with a 
> java.io.OutputStream...

You should use org.apache.cocoon.components.flow.util.PipelineUtil. It offers 3
methods processToStream(), processToSAX() and processToDOM(). There are for sure
samples in the Cocoon code base or in the list archives.

Joerg


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


Mime
View raw message