Interface PipelineComponent

All Superinterfaces:
Handler
All Known Implementing Classes:
AbstractPipelineComponent, AllHandler, EnforceHandler, EscapeHandler, IsAlnumHandler, NoHandler, QuoteHandler, SeparatorHandler, TransparentHandler, UnquotedFieldAssembler, WhitespacesHandler

public interface PipelineComponent extends Handler
A Handler that can be chained into a Pipeline of successors for character-by-character CSV field parsing.
Since:
2.2 (Sep 12, 2004)
Version:
$Revision$ $Date$
Author:
fede, Last changed by: $Author$
  • Method Details

    • setSuccessor

      void setSuccessor(PipelineComponent successor)
      Sets the next component to which unhandled characters are delegated.
      Parameters:
      successor - the successor component.
    • accept

      void accept(char c)
      Accepts the given character as part of the current field value.
      Parameters:
      c - the character to accept.
    • setPipeline

      void setPipeline(Pipeline line)
      Sets the pipeline this component belongs to.
      Parameters:
      line - the owning pipeline.
    • getPipeline

      Pipeline getPipeline()
      Returns the pipeline this component belongs to.
      Returns:
      the owning pipeline.