See: Description
| Enum | Description |
|---|---|
| CodePointLength.NormalizationStrategy |
Strategy for normalization.
|
| CompositionType |
The Enum
CompositionType which is used as argument to the annotation ConstraintComposition. |
| EAN.Type | |
| ISBN.Type |
Defines the ISBN length.
|
| Mod11Check.ProcessingDirection | |
| ModCheck.ModType | |
| SafeHtml.WhiteListType |
Defines default whitelist implementations.
|
| Annotation Type | Description |
|---|---|
| CodePointLength |
Validate that the code point length of a character sequence is between min and max included.
|
| CodePointLength.List |
Defines several
@CodePointLength annotations on the same element. |
| ConstraintComposition |
Boolean operator that is applied to all constraints of a composing constraint annotation.
|
| CreditCardNumber |
The annotated element has to represent a valid
credit card number.
|
| CreditCardNumber.List |
Defines several
@CreditCardNumber annotations on the same element. |
| Currency |
The
MonetaryAmount has to be in the right CurrencyUnit. |
| Currency.List |
Defines several
@Currency annotations on the same element. |
| EAN |
Checks that the annotated character sequence is a valid
EAN 13 number.
|
| EAN.List |
Defines several
@EAN annotations on the same element. |
| Deprecated
use the standard
Email constraint instead |
|
| Email.List |
Defines several
@Email annotations on the same element. |
| ISBN |
Checks that the annotated character sequence is a valid
ISBN.
|
| ISBN.List |
Defines several
@ISBN annotations on the same element. |
| Length |
Validate that the string is between min and max included.
|
| Length.List |
Defines several
@Length annotations on the same element. |
| LuhnCheck |
Luhn algorithm check constraint.
|
| LuhnCheck.List |
Defines several
@LuhnCheck annotations on the same element. |
| Mod10Check |
@Modulo 10 check constraint.
|
| Mod10Check.List |
Defines several
@Mod10Check annotations on the same element. |
| Mod11Check |
Modulo 11 check constraint.
|
| Mod11Check.List |
Defines several
@Mod11Check annotations on the same element. |
| ModCheck | Deprecated
As of release 5.1.0, replaced by
Mod10Check and Mod11Check |
| ModCheck.List |
Defines several
@ModCheck annotations on the same element. |
| NotBlank | Deprecated
use the standard
NotBlank constraint instead |
| NotBlank.List |
Defines several
@NotBlank annotations on the same element. |
| NotEmpty | Deprecated
use the standard
NotEmpty constraint instead |
| NotEmpty.List |
Defines several
@NotEmpty annotations on the same element. |
| ParameterScriptAssert |
A method-level constraint, that evaluates a script expression against the
annotated method or constructor.
|
| ParameterScriptAssert.List |
Defines several
ParameterScriptAssert annotations on the same executable. |
| Range |
The annotated element has to be in the appropriate range.
|
| Range.List |
Defines several
@Range annotations on the same element. |
| SafeHtml |
Validate a rich text value provided by the user to ensure that it contains no malicious code, such as embedded
<script> elements.
|
| SafeHtml.Attribute |
Allows to specify whitelisted attributes with whitelisted protocols.
|
| SafeHtml.List |
Defines several
@SafeHtml annotations on the same element. |
| SafeHtml.Tag |
Allows to specify whitelist tags with specified optional attributes.
|
| ScriptAssert |
A class-level constraint, that evaluates a script expression against the
annotated element.
|
| ScriptAssert.List |
Defines several
@ScriptAssert annotations on the same element. |
| UniqueElements |
Validates that every object in the provided
Collection is unique, i.e. |
| UniqueElements.List |
Defines several
@UniqueElements annotations on the same element. |
| URL |
Validates the annotated string is an URL.
|
| URL.List |
Defines several
@URL annotations on the same element. |
Hibernate Validator specific constraints.
This package is part of the public Hibernate Validator API.
Copyright © 2019 JBoss by Red Hat. All rights reserved.