|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Validator | |
|---|---|
| org.hibernate.validator | |
| org.hibernate.validator.interpolator | |
| Uses of Validator in org.hibernate.validator |
|---|
| Classes in org.hibernate.validator that implement Validator | |
|---|---|
class |
AssertFalseValidator
Check if a given object is false or not |
class |
AssertTrueValidator
Check whether an element is true or not |
class |
CreditCardNumberValidator
Check a credit card number through the Luhn algorithm |
class |
DigitsValidator
Validate a Digit to check if it matches the according pattern |
class |
EANValidator
Validate EAN13 and UPC-A |
class |
EmailValidator
Check that a given string is a well-formed email address |
class |
FutureValidator
Check that a given date is in the future, and apply the same restriction at the DB level |
class |
LengthValidator
Do check a length restriction on a string, and apply expected contraints on hibernate metadata. |
class |
MaxValidator
Do check a max restriction on a numeric (whether and actual number or its string representation, and apply expected contraints on hibernate metadata. |
class |
MinValidator
Do check a min restriction on a numeric (whether and actual number or its string representation, and apply expected contraints on hibernate metadata. |
class |
NotEmptyValidator
Check the non emptyness of the element |
class |
NotNullValidator
Check a not null restriction on an object and apply the equivalent constraint on hibernate metadata. |
class |
PastValidator
Check that a given date is in the past, and apply the same restriction at the DB level |
class |
PatternValidator
check if a given element match the regular expression |
class |
RangeValidator
The value has to be in a defined range, the constraint is also applied on DB |
class |
SizeValidator
Check the size range according to the element |
| Methods in org.hibernate.validator with parameters of type Validator | |
|---|---|
String |
MessageInterpolator.interpolate(String message,
Validator validator,
MessageInterpolator defaultInterpolator)
Interpolate a given validator message. |
| Uses of Validator in org.hibernate.validator.interpolator |
|---|
| Methods in org.hibernate.validator.interpolator with parameters of type Validator | |
|---|---|
void |
DefaultMessageInterpolatorAggerator.addInterpolator(java.lang.annotation.Annotation annotation,
Validator validator)
|
String |
DefaultMessageInterpolatorAggerator.getAnnotationMessage(Validator validator)
|
String |
DefaultMessageInterpolator.interpolate(String message,
Validator validator,
MessageInterpolator defaultInterpolator)
|
String |
DefaultMessageInterpolatorAggerator.interpolate(String message,
Validator validator,
MessageInterpolator defaultInterpolator)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||