Interface
caplin.core

Validator

Constructor Summary

Attributes Name and Description
caplin.core.Validator()

This is an interface and should not be constructed.

Method Summary

Attributes Name and Description
void validate(Object value, Object attributes, caplin.core.ValidationResult validationResult)

Determine whether the provided value is valid or not and set the result on the provided caplin.core.ValidationResult.

Constructor Detail

caplin.core.Validator()

This is an interface and should not be constructed.

Method Detail

void validate(Object value, Object attributes, caplin.core.ValidationResult validationResult)

Determine whether the provided value is valid or not and set the result on the provided caplin.core.ValidationResult.

Parameters
Object value The value to validate.
Object attributes attributes to control the validation process. Will not be null.
caplin.core.ValidationResult validationResult the ValidationResult to store the result of this validation in.