org.dbunit.dataset.csv.handlers
Class AbstractPipelineComponent

java.lang.Object
  extended byorg.dbunit.dataset.csv.handlers.AbstractPipelineComponent
All Implemented Interfaces:
Handler, PipelineComponent
Direct Known Subclasses:
AllHandler, EnforceHandler, EscapeHandler, IsAlnumHandler, NoHandler, QuoteHandler, SeparatorHandler, TransparentHandler, UnquotedFieldAssembler, WhitespacesHandler

public abstract class AbstractPipelineComponent
extends java.lang.Object
implements PipelineComponent


Nested Class Summary
protected static class AbstractPipelineComponent.ACCEPT
           
protected static class AbstractPipelineComponent.IGNORE
           
 
Constructor Summary
AbstractPipelineComponent()
           
 
Method Summary
 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  PipelineComponent getSuccessor()
           
 void handle(char c)
           
 void noMoreInput()
           
 void setPipeline(Pipeline pipeline)
           
 void setSuccessor(PipelineComponent successor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.dbunit.dataset.csv.handlers.Handler
canHandle
 

Constructor Detail

AbstractPipelineComponent

public AbstractPipelineComponent()
Method Detail

getSuccessor

protected PipelineComponent getSuccessor()

getPipeline

public Pipeline getPipeline()
Specified by:
getPipeline in interface PipelineComponent

setPipeline

public void setPipeline(Pipeline pipeline)
Specified by:
setPipeline in interface PipelineComponent

setSuccessor

public void setSuccessor(PipelineComponent successor)
Specified by:
setSuccessor in interface PipelineComponent

handle

public void handle(char c)
            throws IllegalInputCharacterException,
                   PipelineException
Specified by:
handle in interface Handler
Throws:
IllegalInputCharacterException
PipelineException

noMoreInput

public void noMoreInput()
Specified by:
noMoreInput in interface Handler

allowForNoMoreInput

public boolean allowForNoMoreInput()
Specified by:
allowForNoMoreInput in interface Handler

createPipelineComponent

protected static PipelineComponent createPipelineComponent(AbstractPipelineComponent handler,
                                                           Helper helper)

accept

public void accept(char c)
Method invoked when the character should be accepted

Specified by:
accept in interface PipelineComponent
Parameters:
c -

getHelper

protected Helper getHelper()


Copyright © 2002-2004 DbUnit.org. All Rights Reserved.