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 PipelineComponent
public void setPipeline(Pipeline pipeline)
setPipeline
in interface PipelineComponent
protected PipelineConfig getPipelineConfig()
public void setSuccessor(PipelineComponent successor)
setSuccessor
in interface PipelineComponent
public void handle(char c) throws IllegalInputCharacterException, PipelineException
handle
in interface Handler
IllegalInputCharacterException
PipelineException
public void noMoreInput()
noMoreInput
in interface Handler
public boolean allowForNoMoreInput()
allowForNoMoreInput
in interface Handler
protected static PipelineComponent createPipelineComponent(AbstractPipelineComponent handler, Helper helper)
public void accept(char c)
accept
in interface PipelineComponent
c
- protected Helper getHelper()
Copyright © 2002–2018. All rights reserved.