Package play.data.validation
package play.data.validation
Provides the JSR 303 validation constraints.
-
ClassDescriptionDefines a set of built-in validation constraints.Defines a email constraint for a string field.Defines several
@Emailannotations on the same element.Validator for@Emailfields.Defines a maximum value for a numeric field.Defines several@Maxannotations on the same element.Defines a maximum length for a string field.Defines several@MaxLengthannotations on the same element.Validator for@MaxLengthfields.Validator for@Maxfields.Defines a minimum value for a numeric field.Defines several@Minannotations on the same element.Defines a minimum length for a string field.Defines several@MinLengthannotations on the same element.Validator for@MinLengthfields.Validator for@Minfields.Defines a pattern constraint for a string field.Defines several@Patternannotations on the same element.Validator for@Patternfields.Defines a field as required.Defines several@Requiredannotations on the same element.Validator for@Requiredfields.Defines several@Validateannotations on the same element.Defines a custom validator.Defines several@ValidatePayloadWithannotations on the same element.Validator for@ValidatePayloadWithfields.Defines a custom validator.Defines several@ValidateWithannotations on the same element.Defines several@ValidateWithPayloadannotations on the same element.Validator for@ValidateWithfields.Super-type for validators.Super-type for validators with a payload.Creates validator instances with injections available.ConstraintValidatorFactory to be used with compile-time Dependency Injection.A form validation error.Deprecated.Deprecated since 2.7.0.Java Components for Validator.