Class | Description |
---|---|
Constraints |
Defines a set of built-in validation constraints.
|
Constraints.EmailValidator |
Validator for
@Email fields. |
Constraints.MaxLengthValidator |
Validator for
@MaxLength fields. |
Constraints.MaxValidator |
Validator for
@Max fields. |
Constraints.MinLengthValidator |
Validator for
@MinLength fields. |
Constraints.MinValidator |
Validator for
@Min fields. |
Constraints.PatternValidator |
Validator for
@Pattern fields. |
Constraints.RequiredValidator |
Validator for
@Required fields. |
Constraints.ValidateWithValidator |
Validator for
@ValidateWith fields. |
Constraints.Validator<T> |
Super-type for validators.
|
DefaultConstraintValidatorFactory |
Creates validator instances with injections available.
|
ValidationError |
A form validation error.
|
ValidatorProvider |
Annotation Type | Description |
---|---|
Constraints.Email |
Defines a email constraint for a string field.
|
Constraints.Max |
Defines a maximum value for a numeric field.
|
Constraints.MaxLength |
Defines a maxmimum length for a string field.
|
Constraints.Min |
Defines a minumum value for a numeric field.
|
Constraints.MinLength |
Defines a minumum length for a string field.
|
Constraints.Pattern |
Defines a pattern constraint for a string field.
|
Constraints.Required |
Defines a field as required.
|
Constraints.ValidateWith |
Defines a custom validator.
|