| 
 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
  |
  +--org.apache.avalon.framework.logger.AbstractLoggable
        |
        +--org.apache.cocoon.components.pipeline.AbstractStreamPipeline
A ResourcePipeline either
 
Reader and let it processEventPipeline with a
  Serializer and let them produce the requested
 resource
 
| Field Summary | |
| protected  EventPipeline | eventPipeline | 
| protected  org.apache.avalon.framework.component.ComponentManager | managerthe component manager set with compose() | 
| protected  org.apache.avalon.framework.component.ComponentManager | newManagerthe component manager set with compose() and recompose() | 
| protected  Reader | reader | 
| protected  java.lang.String | readerMimeType | 
| protected  org.apache.avalon.framework.parameters.Parameters | readerParam | 
| protected  OutputComponentSelector | readerSelector | 
| protected  java.lang.String | readerSource | 
| protected  Serializer | serializer | 
| protected  java.lang.String | serializerMimeType | 
| protected  org.apache.avalon.framework.parameters.Parameters | serializerParam | 
| protected  OutputComponentSelector | serializerSelector | 
| protected  java.lang.String | serializerSource | 
| protected  java.lang.String | sitemapReaderMimeType | 
| protected  java.lang.String | sitemapSerializerMimeType | 
| Fields inherited from interface org.apache.cocoon.components.pipeline.StreamPipeline | 
| ROLE | 
| Constructor Summary | |
| AbstractStreamPipeline() | |
| Method Summary | |
| protected  boolean | checkPipeline()Sanity check the non-reader pipeline. | 
|  void | compose(org.apache.avalon.framework.component.ComponentManager manager)Pass the ComponentManagerto theComposable. | 
| protected  void | connectPipeline()Connect the pipeline. | 
|  void | dispose() | 
|  EventPipeline | getEventPipeline()Get the EventPipeline | 
|  boolean | process(Environment environment)Process the given Environmentproducing the output | 
| protected  boolean | processReader(Environment environment)Process the pipeline using a reader. | 
|  void | recompose(org.apache.avalon.framework.component.ComponentManager manager) | 
|  void | recycle() | 
|  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 | 
| protected  void | setupPipeline(Environment environment)Setup pipeline components. | 
| Methods inherited from class org.apache.avalon.framework.logger.AbstractLoggable | 
| getLogger, setLogger, setupLogger, setupLogger, setupLogger | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
protected EventPipeline eventPipeline
protected Reader reader
protected org.apache.avalon.framework.parameters.Parameters readerParam
protected java.lang.String readerSource
protected java.lang.String readerMimeType
protected java.lang.String sitemapReaderMimeType
protected Serializer serializer
protected org.apache.avalon.framework.parameters.Parameters serializerParam
protected java.lang.String serializerSource
protected java.lang.String serializerMimeType
protected java.lang.String sitemapSerializerMimeType
protected OutputComponentSelector readerSelector
protected OutputComponentSelector serializerSelector
protected org.apache.avalon.framework.component.ComponentManager manager
protected org.apache.avalon.framework.component.ComponentManager newManager
| Constructor Detail | 
public AbstractStreamPipeline()
| Method Detail | 
public void compose(org.apache.avalon.framework.component.ComponentManager manager)
             throws org.apache.avalon.framework.component.ComponentException
ComponentManager to the Composable.
 The Composable implementation should use the specified
 ComponentManager to acquire the components it needs for
 execution.compose in interface org.apache.avalon.framework.component.Composablemanager - The ComponentManager which this
               Composable uses.org.apache.avalon.framework.component.ComponentException -  
public void recompose(org.apache.avalon.framework.component.ComponentManager manager)
               throws org.apache.avalon.framework.component.ComponentException
recompose in interface org.apache.avalon.framework.component.Recomposable
public void setEventPipeline(EventPipeline eventPipeline)
                      throws java.lang.Exception
StreamPipelineEventPipelinesetEventPipeline in interface StreamPipelinepublic EventPipeline getEventPipeline()
StreamPipelineEventPipelinegetEventPipeline in interface StreamPipeline
public void setReader(java.lang.String role,
                      java.lang.String source,
                      org.apache.avalon.framework.parameters.Parameters param)
               throws java.lang.Exception
StreamPipelinesetReader in interface StreamPipeline
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
StreamPipelinesetReader in interface StreamPipeline
public void setSerializer(java.lang.String role,
                          java.lang.String source,
                          org.apache.avalon.framework.parameters.Parameters param)
                   throws java.lang.Exception
StreamPipelinesetSerializer in interface StreamPipeline
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
StreamPipelinesetSerializer in interface StreamPipeline
public boolean process(Environment environment)
                throws ProcessingException
StreamPipelineEnvironment producing the outputprocess in interface StreamPipeline
protected boolean processReader(Environment environment)
                         throws ProcessingException
ProcessingException - ifprotected boolean checkPipeline()
protected void setupPipeline(Environment environment)
                      throws ProcessingException
protected void connectPipeline()
                        throws ProcessingException
public void dispose()
dispose in interface org.apache.avalon.framework.activity.Disposablepublic void recycle()
recycle in interface org.apache.avalon.excalibur.pool.Recyclable| 
 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||