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
A
Validator
provides the strategy to validate a value with respect to a provided
Property
.- Since:
- 0.6
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validateValue
(Property property, Object value) Validates a value with respect to a provided property.
-
Method Details
-
validateValue
Validates a value with respect to a provided property.- Parameters:
property
- The property.value
- The value to be validated.- Throws:
ValidationException
- If validation fails.
-