org.apache.avalon.excalibur.pipeline
Class ProcessorPipeline

java.lang.Object
  |
  +--org.apache.avalon.excalibur.pipeline.DefaultPipeline
        |
        +--org.apache.avalon.excalibur.pipeline.ProcessorPipeline
All Implemented Interfaces:
org.apache.avalon.framework.component.Component, Pipeline, ProcessorStage, Stage

public class ProcessorPipeline
extends DefaultPipeline
implements ProcessorStage

This represents a pipeline made up of stages.

Author:
Peter Donald

Fields inherited from class org.apache.avalon.excalibur.pipeline.DefaultPipeline
m_stages
 
Constructor Summary
ProcessorPipeline()
           
 
Method Summary
 int getSize()
          Retrieve size of pipeline (number of stages).
 Stage getStage(int index)
          Retrieve a particular stage of pipeline
 void process(java.lang.Object object)
           
 
Methods inherited from class org.apache.avalon.excalibur.pipeline.DefaultPipeline
addStage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessorPipeline

public ProcessorPipeline()
Method Detail

process

public void process(java.lang.Object object)
Specified by:
process in interface ProcessorStage

getStage

public Stage getStage(int index)
Description copied from class: DefaultPipeline
Retrieve a particular stage of pipeline
Overrides:
getStage in class DefaultPipeline
Following copied from class: org.apache.avalon.excalibur.pipeline.DefaultPipeline
Parameters:
index - the index of stage
Returns:
the stage
Throws:
java.util.NoSuchElementException - if index >= getSize() or index < 0

getSize

public int getSize()
Description copied from class: DefaultPipeline
Retrieve size of pipeline (number of stages).
Overrides:
getSize in class DefaultPipeline
Following copied from class: org.apache.avalon.excalibur.pipeline.DefaultPipeline
Returns:
the size of pipeline


Copyright 2001 Apache Jakarta Project. All Rights Reserved.