com.ail.core.validator
Interface Validator

All Known Implementing Classes:
Core

public interface Validator

This interface defines the contract between the Core class and the validator sub-system. The Core is expected to expose the methods defined here, and this package will expose the required entry points.

Version:
$Revision: 1.2 $

Method Summary
 ValidatorResult validate(java.lang.String key, java.lang.Object value)
          Validate a value
 

Method Detail

validate

ValidatorResult validate(java.lang.String key,
                         java.lang.Object value)
                         throws BaseException
Validate a value

Parameters:
key - Key used to identify validation required
value - Value to validate
Returns:
Validation results
Throws:
BaseException