Package | Description |
---|---|
javax.validation |
Top level package of the Bean Validation API.
|
org.hibernate.validator.constraintvalidation |
Custom Hibernate Validator specific constraint validation extension classes.
|
org.hibernate.validator.constraintvalidators | |
org.hibernate.validator.internal.constraintvalidators.bv |
Implementations of the Bean Validation built-in constraints.
|
org.hibernate.validator.internal.constraintvalidators.bv.future |
Constraint validator implementations of the Bean Validation
Future constraint. |
org.hibernate.validator.internal.constraintvalidators.bv.past |
Constraint validator implementations of the Bean Validation
Past constraint. |
org.hibernate.validator.internal.constraintvalidators.bv.size |
Implementations of the Bean Validation
Size constraint. |
org.hibernate.validator.internal.constraintvalidators.hv |
Implementations of Hibernate Validator specific constraints.
|
org.hibernate.validator.internal.constraintvalidators.hv.br | |
org.hibernate.validator.internal.engine.constraintvalidation |
Classes dealing with the representation of constraints and the management/instantitation of constraint
validators.
|
Modifier and Type | Method and Description |
---|---|
ConstraintValidatorContext |
ConstraintValidatorContext.ConstraintViolationBuilder.addConstraintViolation()
Adds the new
ConstraintViolation to be generated if the
constraint validator marks the value as invalid. |
ConstraintValidatorContext |
ConstraintValidatorContext.ConstraintViolationBuilder.LeafNodeBuilderDefinedContext.addConstraintViolation()
Adds the new
ConstraintViolation to be generated if the
constraint validator marks the value as invalid. |
ConstraintValidatorContext |
ConstraintValidatorContext.ConstraintViolationBuilder.LeafNodeBuilderCustomizableContext.addConstraintViolation()
Adds the new
ConstraintViolation to be generated if the
constraint validator mark the value as invalid. |
ConstraintValidatorContext |
ConstraintValidatorContext.ConstraintViolationBuilder.LeafNodeContextBuilder.addConstraintViolation()
Adds the new
ConstraintViolation to be generated if the
constraint validator mark the value as invalid. |
ConstraintValidatorContext |
ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderDefinedContext.addConstraintViolation()
Adds the new
ConstraintViolation to be generated if the
constraint validator marks the value as invalid. |
ConstraintValidatorContext |
ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderCustomizableContext.addConstraintViolation()
Adds the new
ConstraintViolation to be generated if the
constraint validator mark the value as invalid. |
ConstraintValidatorContext |
ConstraintValidatorContext.ConstraintViolationBuilder.NodeContextBuilder.addConstraintViolation()
Adds the new
ConstraintViolation to be generated if the
constraint validator mark the value as invalid. |
Modifier and Type | Method and Description |
---|---|
boolean |
ConstraintValidator.isValid(T value,
ConstraintValidatorContext context)
Implements the validation logic.
|
Modifier and Type | Interface and Description |
---|---|
interface |
HibernateConstraintValidatorContext
A custom
ConstraintValidatorContext which allows to set additional message parameters for
interpolation. |
Modifier and Type | Method and Description |
---|---|
boolean |
RegexpURLValidator.isValid(CharSequence value,
ConstraintValidatorContext constraintValidatorContext) |
Modifier and Type | Method and Description |
---|---|
boolean |
AssertTrueValidator.isValid(Boolean bool,
ConstraintValidatorContext constraintValidatorContext) |
boolean |
AssertFalseValidator.isValid(Boolean bool,
ConstraintValidatorContext constraintValidatorContext) |
boolean |
PatternValidator.isValid(CharSequence value,
ConstraintValidatorContext constraintValidatorContext) |
boolean |
MinValidatorForCharSequence.isValid(CharSequence value,
ConstraintValidatorContext constraintValidatorContext) |
boolean |
MaxValidatorForCharSequence.isValid(CharSequence value,
ConstraintValidatorContext constraintValidatorContext) |
boolean |
DigitsValidatorForCharSequence.isValid(CharSequence charSequence,
ConstraintValidatorContext constraintValidatorContext) |
boolean |
DecimalMinValidatorForCharSequence.isValid(CharSequence value,
ConstraintValidatorContext constraintValidatorContext) |
boolean |
DecimalMaxValidatorForCharSequence.isValid(CharSequence value,
ConstraintValidatorContext constraintValidatorContext) |
boolean |
MinValidatorForNumber.isValid(Number value,
ConstraintValidatorContext constraintValidatorContext) |
boolean |
MaxValidatorForNumber.isValid(Number value,
ConstraintValidatorContext constraintValidatorContext) |
boolean |
DigitsValidatorForNumber.isValid(Number num,
ConstraintValidatorContext constraintValidatorContext) |
boolean |
DecimalMinValidatorForNumber.isValid(Number value,
ConstraintValidatorContext constraintValidatorContext) |
boolean |
DecimalMaxValidatorForNumber.isValid(Number value,
ConstraintValidatorContext constraintValidatorContext) |
boolean |
NullValidator.isValid(Object object,
ConstraintValidatorContext constraintValidatorContext) |
boolean |
NotNullValidator.isValid(Object object,
ConstraintValidatorContext constraintValidatorContext) |
Modifier and Type | Method and Description |
---|---|
boolean |
FutureValidatorForCalendar.isValid(Calendar cal,
ConstraintValidatorContext context) |
boolean |
FutureValidatorForChronoZonedDateTime.isValid(ChronoZonedDateTime<?> value,
ConstraintValidatorContext context) |
boolean |
FutureValidatorForDate.isValid(Date date,
ConstraintValidatorContext constraintValidatorContext) |
boolean |
FutureValidatorForInstant.isValid(Instant value,
ConstraintValidatorContext context) |
boolean |
FutureValidatorForOffsetDateTime.isValid(OffsetDateTime value,
ConstraintValidatorContext context) |
boolean |
FutureValidatorForReadableInstant.isValid(org.joda.time.ReadableInstant value,
ConstraintValidatorContext context) |
boolean |
FutureValidatorForReadablePartial.isValid(org.joda.time.ReadablePartial value,
ConstraintValidatorContext context) |
Modifier and Type | Method and Description |
---|---|
boolean |
PastValidatorForCalendar.isValid(Calendar cal,
ConstraintValidatorContext constraintValidatorContext) |
boolean |
PastValidatorForChronoZonedDateTime.isValid(ChronoZonedDateTime<?> value,
ConstraintValidatorContext context) |
boolean |
PastValidatorForDate.isValid(Date date,
ConstraintValidatorContext constraintValidatorContext) |
boolean |
PastValidatorForInstant.isValid(Instant value,
ConstraintValidatorContext context) |
boolean |
PastValidatorForOffsetDateTime.isValid(OffsetDateTime value,
ConstraintValidatorContext context) |
boolean |
PastValidatorForReadableInstant.isValid(org.joda.time.ReadableInstant value,
ConstraintValidatorContext context) |
boolean |
PastValidatorForReadablePartial.isValid(org.joda.time.ReadablePartial value,
ConstraintValidatorContext context) |
Modifier and Type | Method and Description |
---|---|
boolean |
SizeValidatorForArraysOfBoolean.isValid(boolean[] array,
ConstraintValidatorContext constraintValidatorContext)
Checks the number of entries in an array.
|
boolean |
SizeValidatorForArraysOfByte.isValid(byte[] array,
ConstraintValidatorContext constraintValidatorContext)
Checks the number of entries in an array.
|
boolean |
SizeValidatorForArraysOfChar.isValid(char[] array,
ConstraintValidatorContext constraintValidatorContext)
Checks the number of entries in an array.
|
boolean |
SizeValidatorForCharSequence.isValid(CharSequence charSequence,
ConstraintValidatorContext constraintValidatorContext)
Checks the length of the specified character sequence (e.g.
|
boolean |
SizeValidatorForCollection.isValid(Collection<?> collection,
ConstraintValidatorContext constraintValidatorContext)
Checks the number of entries in a collection.
|
boolean |
SizeValidatorForArraysOfDouble.isValid(double[] array,
ConstraintValidatorContext constraintValidatorContext)
Checks the number of entries in an array.
|
boolean |
SizeValidatorForArraysOfFloat.isValid(float[] array,
ConstraintValidatorContext constraintValidatorContext)
Checks the number of entries in an array.
|
boolean |
SizeValidatorForArraysOfInt.isValid(int[] array,
ConstraintValidatorContext constraintValidatorContext)
Checks the number of entries in an array.
|
boolean |
SizeValidatorForArraysOfLong.isValid(long[] array,
ConstraintValidatorContext constraintValidatorContext)
Checks the number of entries in an array.
|
boolean |
SizeValidatorForMap.isValid(Map<?,?> map,
ConstraintValidatorContext constraintValidatorContext)
Checks the number of entries in a map.
|
boolean |
SizeValidatorForArray.isValid(Object[] array,
ConstraintValidatorContext constraintValidatorContext)
Checks the number of entries in an array.
|
boolean |
SizeValidatorForArraysOfShort.isValid(short[] array,
ConstraintValidatorContext constraintValidatorContext)
Checks the number of entries in an array.
|
Modifier and Type | Method and Description |
---|---|
boolean |
URLValidator.isValid(CharSequence value,
ConstraintValidatorContext constraintValidatorContext) |
boolean |
SafeHtmlValidator.isValid(CharSequence value,
ConstraintValidatorContext context) |
boolean |
NotBlankValidator.isValid(CharSequence charSequence,
ConstraintValidatorContext constraintValidatorContext)
Checks that the trimmed string is not empty.
|
boolean |
ModCheckBase.isValid(CharSequence value,
ConstraintValidatorContext context) |
boolean |
LengthValidator.isValid(CharSequence value,
ConstraintValidatorContext constraintValidatorContext) |
boolean |
EmailValidator.isValid(CharSequence value,
ConstraintValidatorContext context) |
boolean |
EANValidator.isValid(CharSequence value,
ConstraintValidatorContext context) |
boolean |
ParameterScriptAssertValidator.isValid(Object[] arguments,
ConstraintValidatorContext constraintValidatorContext) |
boolean |
ScriptAssertValidator.isValid(Object value,
ConstraintValidatorContext constraintValidatorContext) |
Modifier and Type | Method and Description |
---|---|
boolean |
CPFValidator.isValid(CharSequence value,
ConstraintValidatorContext context) |
boolean |
CNPJValidator.isValid(CharSequence value,
ConstraintValidatorContext context) |
Modifier and Type | Class and Description |
---|---|
class |
ConstraintValidatorContextImpl |
Copyright © 2017 JBoss by Red Hat. All rights reserved.