Package | Description |
---|---|
javax.validation | |
javax.validation.metadata | |
org.hibernate.validator.internal.constraintvalidators |
Implementations of the Bean Validation built-in as well as
Hibernate Validator specific constraints.
|
org.hibernate.validator.internal.engine |
Implementations for the core interfaces of JSR-303.
|
org.hibernate.validator.internal.metadata.core | |
org.hibernate.validator.internal.metadata.descriptor |
Implementation of the Bean Validation meta data API and its Hibernate Validator specific extension for the
representation of method level constraints.
|
org.hibernate.validator.internal.util |
Independent helper classes.
|
Modifier and Type | Method and Description |
---|---|
<T extends ConstraintValidator<?,?>> |
ConstraintValidatorFactory.getInstance(Class<T> key) |
Modifier and Type | Method and Description |
---|---|
List<Class<? extends ConstraintValidator<T,?>>> |
ConstraintDescriptor.getConstraintValidatorClasses()
List of the constraint validation implementation classes.
|
Modifier and Type | Class and Description |
---|---|
class |
AssertFalseValidator
Validates that the value passed is false
|
class |
AssertTrueValidator
Validates that the value passed is true
|
class |
DecimalMaxValidatorForCharSequence
Check that the character sequence (e.g.
|
class |
DecimalMaxValidatorForNumber
Check that the number being validated is less than or equal to the maximum
value specified.
|
class |
DecimalMinValidatorForCharSequence |
class |
DecimalMinValidatorForNumber
Check that the number being validated is less than or equal to the maximum
value specified.
|
class |
DigitsValidatorForCharSequence
Validates that the character sequence (e.g.
|
class |
DigitsValidatorForNumber
Validates that the
Number being validates matches the pattern
defined in the constraint. |
class |
EmailValidator
Checks that a given character sequence (e.g.
|
class |
FutureValidatorForCalendar
Check that the
java.util.Calendar passed to be validated is in
the future. |
class |
FutureValidatorForDate
Check that the
java.util.Date passed to be validated is in the
future. |
class |
FutureValidatorForReadableInstant
Check if Joda Time type who implements
import org.joda.time.ReadableInstant
is in the future. |
class |
FutureValidatorForReadablePartial
Check if Joda Time type who implements
org.joda.time.ReadablePartial
is in the future. |
class |
LengthValidator
Check that the character sequence length is between min and max.
|
class |
MaxValidatorForCharSequence
Check that the character sequence (e.g.
|
class |
MaxValidatorForNumber
Check that the number being validated is less than or equal to the maximum
value specified.
|
class |
MinValidatorForCharSequence
Check that the character sequence (e.g.
|
class |
MinValidatorForNumber
Check that the number being validated is greater than or equal to the minimum
value specified.
|
class |
ModCheckValidator
Mod check validator for MOD10 and MOD11 algorithms
http://en.wikipedia.org/wiki/Luhn_algorithm
http://en.wikipedia.org/wiki/Check_digit
|
class |
NotBlankValidator
Check that a character sequence's (e.g.
|
class |
NotNullValidator
Validate that the object is not
null . |
class |
NullValidator
Validate that the object is
null |
class |
PastValidatorForCalendar
Check that the
java.util.Calendar passed to be validated is in the
past. |
class |
PastValidatorForDate
Check that the
java.util.Date passed to be validated is in the
past. |
class |
PastValidatorForReadableInstant
Check if Joda Time type who implements
org.joda.time.ReadableInstant
is in the past. |
class |
PastValidatorForReadablePartial
Check if Joda Time type who implements
org.joda.time.ReadablePartial
is in the past. |
class |
PatternValidator |
class |
SafeHtmlValidator
Validate that the string does not contain malicious code.
|
class |
ScriptAssertValidator
Validator for the
ScriptAssert constraint annotation. |
class |
SizeValidatorForArray
Check that the length of an array is between min and max
|
class |
SizeValidatorForArraysOfBoolean |
class |
SizeValidatorForArraysOfByte |
class |
SizeValidatorForArraysOfChar |
class |
SizeValidatorForArraysOfDouble |
class |
SizeValidatorForArraysOfFloat |
class |
SizeValidatorForArraysOfInt |
class |
SizeValidatorForArraysOfLong |
class |
SizeValidatorForArraysOfShort |
class |
SizeValidatorForCharSequence
Check that the length of a character sequence is between min and max.
|
class |
SizeValidatorForCollection
Check that a string's length is between min and max.
|
class |
SizeValidatorForMap
Check that a string's length is between min and max.
|
class |
URLValidator
Validate that the character sequence (e.g.
|
Modifier and Type | Method and Description |
---|---|
<T extends ConstraintValidator<?,?>> |
ConstraintValidatorFactoryImpl.getInstance(Class<T> key) |
Modifier and Type | Method and Description |
---|---|
List<Class<? extends ConstraintValidator<? extends Annotation,?>>> |
ConstraintHelper.getBuiltInConstraints(Class<? extends Annotation> annotationClass) |
<T extends Annotation> |
ConstraintHelper.getConstraintValidatorDefinition(Class<T> annotationClass) |
Modifier and Type | Method and Description |
---|---|
<A extends Annotation> |
ConstraintHelper.addConstraintValidatorDefinition(Class<A> annotationClass,
List<Class<? extends ConstraintValidator<? extends Annotation,?>>> definitionClasses) |
Modifier and Type | Method and Description |
---|---|
List<Class<? extends ConstraintValidator<T,?>>> |
ConstraintDescriptorImpl.getConstraintValidatorClasses() |
Modifier and Type | Method and Description |
---|---|
static <T extends Annotation> |
TypeHelper.getValidatorsTypes(List<Class<? extends ConstraintValidator<T,?>>> validators) |
Modifier and Type | Method and Description |
---|---|
static <T extends Annotation> |
TypeHelper.getValidatorsTypes(List<Class<? extends ConstraintValidator<T,?>>> validators) |
Copyright © 2018 JBoss by Red Hat. All rights reserved.