public interface Validator<T>
Note that the enum StringValidators
provides many
built-in validators to perform common tasks.
void validate(Problems problems, java.lang.String compName, T model)
problems
- A list of problems.compName
- The name of the component in question (may be null in some cases)model
- The model in questionjava.lang.Class<T> modelType()