org.apache.cocoon.components.pipeline
Interface StreamPipeline
- All Superinterfaces:
- org.apache.avalon.framework.component.Component, org.apache.avalon.framework.component.Composable, org.apache.avalon.excalibur.pool.Poolable, org.apache.avalon.excalibur.pool.Recyclable
- All Known Implementing Classes:
- AbstractStreamPipeline
- public interface StreamPipeline
- extends org.apache.avalon.framework.component.Component, org.apache.avalon.framework.component.Composable, org.apache.avalon.excalibur.pool.Recyclable
A StreamPipeline
either
- collects a
Reader
and let it produce a character stream
- or connects a
EventPipeline
with a
Serializer
and let them produce the character stream
- Version:
- CVS $Revision: 1.2.2.7 $ $Date: 2001/10/11 08:56:08 $
- Author:
- Giacomo Pati
Field Summary |
static java.lang.String |
ROLE
|
Method Summary |
EventPipeline |
getEventPipeline()
Get the EventPipeline |
boolean |
process(Environment environment)
Process the given Environment producing the output |
void |
setEventPipeline(EventPipeline eventPipeline)
Set the EventPipeline |
void |
setReader(java.lang.String role,
java.lang.String source,
org.apache.avalon.framework.parameters.Parameters param)
Set the reader for this pipeline |
void |
setReader(java.lang.String role,
java.lang.String source,
org.apache.avalon.framework.parameters.Parameters param,
java.lang.String mimeType)
Set the reader for this pipeline |
void |
setSerializer(java.lang.String role,
java.lang.String source,
org.apache.avalon.framework.parameters.Parameters param)
Set the serializer for this pipeline |
void |
setSerializer(java.lang.String role,
java.lang.String source,
org.apache.avalon.framework.parameters.Parameters param,
java.lang.String mimeType)
Set the serializer for this pipeline |
Methods inherited from interface org.apache.avalon.framework.component.Composable |
compose |
Methods inherited from interface org.apache.avalon.excalibur.pool.Recyclable |
recycle |
ROLE
public static final java.lang.String ROLE
process
public boolean process(Environment environment)
throws java.lang.Exception
- Process the given
Environment
producing the output
setEventPipeline
public void setEventPipeline(EventPipeline eventPipeline)
throws java.lang.Exception
- Set the
EventPipeline
getEventPipeline
public EventPipeline getEventPipeline()
- Get the
EventPipeline
setReader
public void setReader(java.lang.String role,
java.lang.String source,
org.apache.avalon.framework.parameters.Parameters param)
throws java.lang.Exception
- Set the reader for this pipeline
setReader
public void setReader(java.lang.String role,
java.lang.String source,
org.apache.avalon.framework.parameters.Parameters param,
java.lang.String mimeType)
throws java.lang.Exception
- Set the reader for this pipeline
setSerializer
public void setSerializer(java.lang.String role,
java.lang.String source,
org.apache.avalon.framework.parameters.Parameters param)
throws java.lang.Exception
- Set the serializer for this pipeline
setSerializer
public void setSerializer(java.lang.String role,
java.lang.String source,
org.apache.avalon.framework.parameters.Parameters param,
java.lang.String mimeType)
throws java.lang.Exception
- Set the serializer for this pipeline
Copyright © 1999-2001 Apache Software Foundation. All Rights Reserved.