Package com.bc.ceres.binding
Interface Validator
-
- All Known Implementing Classes:
ArrayValidator
,IntervalValidator
,MultiValidator
,NotEmptyValidator
,NotNullValidator
,PatternValidator
,TimeStampExtractor.DateInterpretationPatternValidator
,TimeStampExtractor.FilenameInterpretationPatternValidator
,TypeValidator
,ValueSetValidator
public interface Validator
AValidator
provides the strategy to validate a value with respect to a providedProperty
.- Since:
- 0.6
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
validateValue(Property property, Object value)
Validates a value with respect to a provided property.
-
-
-
Method Detail
-
validateValue
void validateValue(Property property, Object value) throws ValidationException
Validates a value with respect to a provided property.- Parameters:
property
- The property.value
- The value to be validated.- Throws:
ValidationException
- If validation fails.
-
-