Interface Validator

All Known Implementing Classes:
CodebookValidator, FrequencyValidator, NonEmptyValidator, TwoColumnValidator

public interface Validator

An interface to represent the strategy for parsing and validating input received by an InputDialog.


Method Summary
 Object parse(String raw)
          Parses a raw String from an input text area.
 

Method Detail

parse

Object parse(String raw)
             throws ValidatorException
Parses a raw String from an input text area.

Parameters:
raw - String that was entered in a text area
Returns:
Object representing the parsed information
Throws:
ValidatorException - if input was invalid