net.sf.jsefa.common.validator
Interface Validator

All Known Implementing Classes:
BigDecimalValidator, CollectionValidator, IntegerValidator, LongValidator, MapValidator, NoValidatorType, NumberValidator, StringValidator

public interface Validator

A validator for object values.

Author:
Norman Lahme-Huetig

Method Summary
 ValidationResult validate(Object value)
          Validates the given value and returns a ValidationResult describing the result of the validation.
 

Method Detail

validate

ValidationResult validate(Object value)
Validates the given value and returns a ValidationResult describing the result of the validation.

Parameters:
value - the value to validate
Returns:
the result of the validation.


Copyright © 2014. All rights reserved.