See: Description
Class | Description |
---|---|
AssertFalseValidator |
Validates that the value passed is false
|
AssertTrueValidator |
Validates that the value passed is true
|
CreditCardNumberValidator |
Check a credit card number through the Luhn algorithm.
|
DecimalMaxValidatorForNumber |
Check that the number being validated is less than or equal to the maximum
value specified.
|
DecimalMaxValidatorForString |
Check that the String being validated represents a number, and has a value
less than or equal to the maximum value specified.
|
DecimalMinValidatorForNumber |
Check that the number being validated is less than or equal to the maximum
value specified.
|
DecimalMinValidatorForString | |
DigitsValidatorForNumber |
Validates that the
Number being validates matches the pattern
defined in the constraint. |
DigitsValidatorForString |
Validates that the
String being validated consists of digits,
and matches the pattern defined in the constraint. |
EmailValidator |
Checks that a given string is a well-formed email address.
|
FutureValidatorForCalendar |
Check that the
java.util.Calendar passed to be validated is in
the future. |
FutureValidatorForDate |
Check that the
java.util.Date passed to be validated is in the
future. |
FutureValidatorForReadableInstant |
Check if Joda Time type who implements
import org.joda.time.ReadableInstant
is in the future. |
FutureValidatorForReadablePartial |
Check if Joda Time type who implements
org.joda.time.ReadablePartial
is in the future. |
LengthValidator |
Check that a string's length is between min and max.
|
LuhnValidator |
Implement the Luhn algorithm (with Luhn key on the last digit).
|
MaxValidatorForNumber |
Check that the number being validated is less than or equal to the maximum
value specified.
|
MaxValidatorForString |
Check that the String being validated represents a number, and has a value
less than or equal to the maximum value specified.
|
MinValidatorForNumber |
Check that the number being validated is greater than or equal to the minimum
value specified.
|
MinValidatorForString |
Check that the String being validated represents a number, and has a value
more than or equal to the minimum value specified.
|
NotBlankValidator |
Check that a string's trimmed length is not empty.
|
NotNullValidator |
Validate that the object is not
null . |
NullValidator |
Validate that the object is
null |
PastValidatorForCalendar |
Check that the
java.util.Calendar passed to be validated is in the
past. |
PastValidatorForDate |
Check that the
java.util.Date passed to be validated is in the
past. |
PastValidatorForReadableInstant |
Check if Joda Time type who implements
org.joda.time.ReadableInstant
is in the past. |
PastValidatorForReadablePartial |
Check if Joda Time type who implements
org.joda.time.ReadablePartial
is in the past. |
PatternValidator | |
SafeHtmlValidator |
Validate that the string does not contain malicious code.
|
ScriptAssertValidator |
Validator for the
ScriptAssert constraint annotation. |
SizeValidatorForArray |
Check that the length of an array is between min and max
|
SizeValidatorForArraysOfBoolean | |
SizeValidatorForArraysOfByte | |
SizeValidatorForArraysOfChar | |
SizeValidatorForArraysOfDouble | |
SizeValidatorForArraysOfFloat | |
SizeValidatorForArraysOfInt | |
SizeValidatorForArraysOfLong | |
SizeValidatorForArraysOfPrimitives |
Check that the length of an array is between min and max
|
SizeValidatorForArraysOfShort | |
SizeValidatorForCollection |
Check that a string's length is between min and max.
|
SizeValidatorForMap |
Check that a string's length is between min and max.
|
SizeValidatorForString |
Check that a string's length is between min and max.
|
URLValidator |
Validate that the string is a valid URL.
|
Implementations of the Bean Validation built-in as well as Hibernate Validator specific constraints.
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.