public abstract class AbstractPipelineComponent extends Object implements PipelineComponent
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AbstractPipelineComponent.ACCEPT |
protected static class |
AbstractPipelineComponent.IGNORE |
| Constructor and Description |
|---|
AbstractPipelineComponent() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(char c)
Method invoked when the character should be accepted
|
boolean |
allowForNoMoreInput() |
protected static PipelineComponent |
createPipelineComponent(AbstractPipelineComponent handler,
Helper helper) |
protected Helper |
getHelper() |
Pipeline |
getPipeline() |
protected PipelineConfig |
getPipelineConfig() |
protected PipelineComponent |
getSuccessor() |
void |
handle(char c) |
void |
noMoreInput() |
void |
setPipeline(Pipeline pipeline) |
void |
setSuccessor(PipelineComponent successor) |
protected PipelineComponent getSuccessor()
public Pipeline getPipeline()
getPipeline in interface PipelineComponentpublic void setPipeline(Pipeline pipeline)
setPipeline in interface PipelineComponentprotected PipelineConfig getPipelineConfig()
public void setSuccessor(PipelineComponent successor)
setSuccessor in interface PipelineComponentpublic void handle(char c)
throws IllegalInputCharacterException,
PipelineException
handle in interface HandlerIllegalInputCharacterExceptionPipelineExceptionpublic void noMoreInput()
noMoreInput in interface Handlerpublic boolean allowForNoMoreInput()
allowForNoMoreInput in interface Handlerprotected static PipelineComponent createPipelineComponent(AbstractPipelineComponent handler, Helper helper)
public void accept(char c)
accept in interface PipelineComponentc - protected Helper getHelper()
Copyright © 2002-2017. All Rights Reserved.