Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.common.align.extension.function
Interface Validator

All Known Implementing Classes:
DateExtractionFormatValidator, EnumerationValidator, LengthValidator, NumberValidator, SRSValidator

public interface Validator

Validator for function parameters.

Author:
Kai Schwierczek

Method Summary
 void setParameters(com.google.common.collect.ListMultimap<String,String> parameters)
          Sets this validators parameters.
 String validate(String value)
          Checks whether the given value is valid.
 

Method Detail

validate

String validate(String value)
Checks whether the given value is valid.

Parameters:
value - the value to check
Returns:
null, if the value is valid, otherwise the reason why it's invalid

setParameters

void setParameters(com.google.common.collect.ListMultimap<String,String> parameters)
Sets this validators parameters.

Parameters:
parameters - the parameters

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d