|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjconch.pipeline.PipeStage
jconch.pipeline.Processor
jconch.pipeline.impl.TransformerProcessor
public abstract class TransformerProcessor
A Transformer-based implementation of a Processor.
Implementation Note: Due to a
failing of generics, there is no type-safety available for this
implementation.
| Constructor Summary | |
|---|---|
protected |
TransformerProcessor(org.apache.commons.collections.Transformer trans,
ThreadingModel threading,
PipeLink inLink,
PipeLink outLink)
Constructor. |
| Method Summary | |
|---|---|
java.lang.Object |
process(java.lang.Object item)
Delegates the implemenation to Transformer.transform(Object). |
| Methods inherited from class jconch.pipeline.Processor |
|---|
execute, getLinkIn, getLinkOut, isFinished |
| Methods inherited from class jconch.pipeline.PipeStage |
|---|
getThreadingModel, isStarted, logMessage, start |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected TransformerProcessor(org.apache.commons.collections.Transformer trans,
ThreadingModel threading,
PipeLink inLink,
PipeLink outLink)
trans - The implementation of the processing.
org.apache.commons.lang.NullArgumentException - If any argument is null.| Method Detail |
|---|
public java.lang.Object process(java.lang.Object item)
Transformer.transform(Object).
process in class Processoritem - The item to process.
null to drop it.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||