Modifier and Type | Method and Description |
---|---|
<T extends ConstraintValidator<?,?>> |
ConstraintValidatorFactory.getInstance(Class<T> key) |
Modifier and Type | Method and Description |
---|---|
void |
ConstraintValidatorFactory.releaseInstance(ConstraintValidator<?,?> instance)
Signals
ConstraintValidatorFactory that the instance is no longer
being used by the Bean Validation provider. |
Modifier and Type | Method and Description |
---|---|
List<Class<? extends ConstraintValidator<T,?>>> |
ConstraintDescriptor.getConstraintValidatorClasses()
List of the constraint validation implementation classes.
|
Modifier and Type | Method and Description |
---|---|
<T extends ConstraintValidator<?,?>> |
InjectingConstraintValidatorFactory.getInstance(Class<T> key) |
Modifier and Type | Method and Description |
---|---|
void |
InjectingConstraintValidatorFactory.releaseInstance(ConstraintValidator<?,?> instance) |
Modifier and Type | Method and Description |
---|---|
ConstraintDefinitionContext<A> |
ConstraintDefinitionContext.validatedBy(Class<? extends ConstraintValidator<A,?>> validator)
Adds a new validator to validate this constraint.
|
Modifier and Type | Interface and Description |
---|---|
interface |
HibernateConstraintValidator<A extends Annotation,T>
Hibernate Validator specific extension to the
ConstraintValidator contract. |
Modifier and Type | Class and Description |
---|---|
class |
RegexpURLValidator
Validate that the character sequence (e.g.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractEmailValidator<A extends Annotation>
Checks that a given character sequence (e.g.
|
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 |
DecimalMinValidatorForCharSequence
Check that the character sequence (e.g.
|
class |
DigitsValidatorForCharSequence
Validates that the character sequence (e.g.
|
class |
DigitsValidatorForNumber
Validates that the
Number being validated matches the pattern
defined in the constraint. |
class |
EmailValidator
Checks that a given character sequence (e.g.
|
class |
MaxValidatorForCharSequence
Check that the character sequence (e.g.
|
class |
MinValidatorForCharSequence
Check that the character sequence (e.g.
|
class |
NotBlankValidator
Check that a character sequence is not
null nor empty after removing any leading or trailing whitespace. |
class |
NotNullValidator
Validate that the object is not
null . |
class |
NullValidator
Validate that the object is
null |
class |
PatternValidator |
Modifier and Type | Class and Description |
---|---|
class |
CurrencyValidatorForMonetaryAmount
Check that the validated
MonetaryAmount is in the right CurrencyUnit . |
class |
DecimalMaxValidatorForMonetaryAmount
Check that the monetary amount being validated is less than or equal to the maximum
value specified.
|
class |
DecimalMinValidatorForMonetaryAmount
Check that the number being validated is less than or equal to the maximum
value specified.
|
class |
MaxValidatorForMonetaryAmount
Check that the monetary amount being validated is less than or equal to the maximum
value specified.
|
class |
MinValidatorForMonetaryAmount
Check that the number being validated is less than or equal to the maximum
value specified.
|
class |
NegativeOrZeroValidatorForMonetaryAmount
Check that the number being validated positive.
|
class |
NegativeValidatorForMonetaryAmount
Check that the number being validated positive.
|
class |
PositiveOrZeroValidatorForMonetaryAmount
Check that the number being validated positive.
|
class |
PositiveValidatorForMonetaryAmount
Check that the number being validated positive.
|
Modifier and Type | Class and Description |
---|---|
class |
NotEmptyValidatorForArray
Check that the array is not null and not empty.
|
class |
NotEmptyValidatorForArraysOfBoolean |
class |
NotEmptyValidatorForArraysOfByte |
class |
NotEmptyValidatorForArraysOfChar |
class |
NotEmptyValidatorForArraysOfDouble |
class |
NotEmptyValidatorForArraysOfFloat |
class |
NotEmptyValidatorForArraysOfInt |
class |
NotEmptyValidatorForArraysOfLong |
class |
NotEmptyValidatorForArraysOfShort |
class |
NotEmptyValidatorForCharSequence
Check that the character sequence is not null and its length is strictly superior to 0.
|
class |
NotEmptyValidatorForCollection
Check that the collection is not null and not empty.
|
class |
NotEmptyValidatorForMap
Check that the map is not null and not empty.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractMaxValidator<T>
Check that the number being validated is less than or equal to the maximum
value specified.
|
class |
AbstractMinValidator<T>
Check that the number being validated is greater than or equal to the minimum
value specified.
|
class |
MaxValidatorForBigDecimal
Check that the number being validated is less than or equal to the maximum
value specified.
|
class |
MaxValidatorForBigInteger
Check that the number being validated is less than or equal to the maximum
value specified.
|
class |
MaxValidatorForDouble
Check that the number being validated is less than or equal to the maximum
value specified.
|
class |
MaxValidatorForFloat
Check that the number being validated is less than or equal to the maximum
value specified.
|
class |
MaxValidatorForLong
Check that the number being validated is less than or equal to the maximum
value specified.
|
class |
MaxValidatorForNumber
Check that the number being validated is less than or equal to the maximum
value specified.
|
class |
MinValidatorForBigDecimal
Check that the number being validated is greater than or equal to the minimum
value specified.
|
class |
MinValidatorForBigInteger
Check that the number being validated is greater than or equal to the minimum
value specified.
|
class |
MinValidatorForDouble
Check that the number being validated is greater than or equal to the minimum
value specified.
|
class |
MinValidatorForFloat
Check that the number being validated is greater than or equal to the minimum
value specified.
|
class |
MinValidatorForLong
Check that the number being validated is greater than or equal to the minimum
value specified.
|
class |
MinValidatorForNumber
Check that the number being validated is greater than or equal to the minimum
value specified.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDecimalMaxValidator<T>
Check that the number being validated is less than or equal to the maximum
value specified.
|
class |
AbstractDecimalMinValidator<T>
Check that the number being validated is greater than or equal to the minimum
value specified.
|
class |
DecimalMaxValidatorForBigDecimal
Check that the number being validated is less than or equal to the maximum
value specified.
|
class |
DecimalMaxValidatorForBigInteger
Check that the number being validated is less than or equal to the maximum
value specified.
|
class |
DecimalMaxValidatorForDouble
Check that the number being validated is less than or equal to the maximum
value specified.
|
class |
DecimalMaxValidatorForFloat
Check that the number being validated is less than or equal to the maximum
value specified.
|
class |
DecimalMaxValidatorForLong
Check that the number being validated is less than or equal to the maximum
value specified.
|
class |
DecimalMaxValidatorForNumber
Check that the number being validated is less than or equal to the maximum
value specified.
|
class |
DecimalMinValidatorForBigDecimal
Check that the number being validated is greater than or equal to the minimum
value specified.
|
class |
DecimalMinValidatorForBigInteger
Check that the number being validated is greater than or equal to the minimum
value specified.
|
class |
DecimalMinValidatorForDouble
Check that the number being validated is greater than or equal to the minimum
value specified.
|
class |
DecimalMinValidatorForFloat
Check that the number being validated is greater than or equal to the minimum
value specified.
|
class |
DecimalMinValidatorForLong
Check that the number being validated is greater than or equal to the minimum
value specified.
|
class |
DecimalMinValidatorForNumber
Check that the number being validated is greater than or equal to the minimum
value specified.
|
Modifier and Type | Class and Description |
---|---|
class |
NegativeOrZeroValidatorForBigDecimal
Check that the number being validated is negative.
|
class |
NegativeOrZeroValidatorForBigInteger
Check that the number being validated is negative.
|
class |
NegativeOrZeroValidatorForByte
Check that the number being validated is negative.
|
class |
NegativeOrZeroValidatorForDouble
Check that the number being validated is negative.
|
class |
NegativeOrZeroValidatorForFloat
Check that the number being validated is negative.
|
class |
NegativeOrZeroValidatorForInteger
Check that the number being validated is negative.
|
class |
NegativeOrZeroValidatorForLong
Check that the number being validated is negative.
|
class |
NegativeOrZeroValidatorForNumber
Check that the number being validated is negative.
|
class |
NegativeOrZeroValidatorForShort
Check that the number being validated is negative.
|
class |
NegativeValidatorForBigDecimal
Check that the number being validated is negative.
|
class |
NegativeValidatorForBigInteger
Check that the number being validated is negative.
|
class |
NegativeValidatorForByte
Check that the number being validated is negative.
|
class |
NegativeValidatorForDouble
Check that the number being validated is negative.
|
class |
NegativeValidatorForFloat
Check that the number being validated is negative.
|
class |
NegativeValidatorForInteger
Check that the number being validated is negative.
|
class |
NegativeValidatorForLong
Check that the number being validated is negative.
|
class |
NegativeValidatorForNumber
Check that the number being validated is negative.
|
class |
NegativeValidatorForShort
Check that the number being validated is negative.
|
class |
PositiveOrZeroValidatorForBigDecimal
Check that the number being validated is positive.
|
class |
PositiveOrZeroValidatorForBigInteger
Check that the number being validated is positive.
|
class |
PositiveOrZeroValidatorForByte
Check that the number being validated is positive.
|
class |
PositiveOrZeroValidatorForDouble
Check that the number being validated is positive.
|
class |
PositiveOrZeroValidatorForFloat
Check that the number being validated is positive.
|
class |
PositiveOrZeroValidatorForInteger
Check that the number being validated positive.
|
class |
PositiveOrZeroValidatorForLong
Check that the number being validated positive.
|
class |
PositiveOrZeroValidatorForNumber
Check that the number being validated is positive.
|
class |
PositiveOrZeroValidatorForShort
Check that the number being validated is positive.
|
class |
PositiveValidatorForBigDecimal
Check that the number being validated is positive.
|
class |
PositiveValidatorForBigInteger
Check that the number being validated is positive.
|
class |
PositiveValidatorForByte
Check that the number being validated is positive.
|
class |
PositiveValidatorForDouble
Check that the number being validated is positive.
|
class |
PositiveValidatorForFloat
Check that the number being validated is positive.
|
class |
PositiveValidatorForInteger
Check that the number being validated positive.
|
class |
PositiveValidatorForLong
Check that the number being validated positive.
|
class |
PositiveValidatorForNumber
Check that the number being validated is positive.
|
class |
PositiveValidatorForShort
Check that the number being validated is positive.
|
Modifier and Type | Class and Description |
---|---|
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 collection's size is between min and max.
|
class |
SizeValidatorForMap
Check that a map's size is between min and max.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractEpochBasedTimeValidator<C extends Annotation,T>
Base class for all time validators that use an epoch to be compared to the time reference.
|
class |
AbstractInstantBasedTimeValidator<C extends Annotation,T>
Base class for all time validators that use an
Instant to be compared to the time reference. |
class |
AbstractJavaTimeValidator<C extends Annotation,T extends TemporalAccessor & Comparable<? super T>>
Base class for all time validators that are based on the
java.time package. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractFutureEpochBasedValidator<T>
Base class for all
@Future validators that use an epoch to be compared to the time reference. |
class |
AbstractFutureInstantBasedValidator<T>
Base class for all
@Future validators that use an Instant to be compared to the time reference. |
class |
AbstractFutureJavaTimeValidator<T extends TemporalAccessor & Comparable<? super T>>
Base class for all
@Future validators that are based on the java.time package. |
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 |
FutureValidatorForHijrahDate
Check that the
java.time.chrono.HijrahDate passed is in the future. |
class |
FutureValidatorForInstant
Check that the
java.time.Instant passed is in the future. |
class |
FutureValidatorForJapaneseDate
Check that the
java.time.chrono.JapaneseDate passed is in the future. |
class |
FutureValidatorForLocalDate
Check that the
java.time.LocalDate passed is in the future. |
class |
FutureValidatorForLocalDateTime
Check that the
java.time.LocalDateTime passed is in the future. |
class |
FutureValidatorForLocalTime
Check that the
java.time.LocalTime passed is in the future. |
class |
FutureValidatorForMinguoDate
Check that the
java.time.chrono.MinguoDate passed is in the future. |
class |
FutureValidatorForMonthDay
Check that the
java.time.MonthDay passed is in the future. |
class |
FutureValidatorForOffsetDateTime
Check that the
java.time.OffsetDateTime passed is in the future. |
class |
FutureValidatorForOffsetTime
Check that the
java.time.OffsetTime passed 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 |
FutureValidatorForThaiBuddhistDate
Check that the
java.time.chrono.ThaiBuddhistDate passed is in the future. |
class |
FutureValidatorForYear
Check that the
java.time.Year passed is in the future. |
class |
FutureValidatorForYearMonth
Check that the
java.time.YearMonth passed is in the future. |
class |
FutureValidatorForZonedDateTime
Check that the
java.time.ZonedDateTime passed is in the future. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractFutureOrPresentEpochBasedValidator<T>
Base class for all
@FutureOrPresent validators that use an epoch to be compared to the time reference. |
class |
AbstractFutureOrPresentInstantBasedValidator<T>
Base class for all
@FutureOrPresent validators that use an Instant to be compared to the time reference. |
class |
AbstractFutureOrPresentJavaTimeValidator<T extends TemporalAccessor & Comparable<? super T>>
Base class for all
@FutureOrPresent validators that are based on the java.time package. |
class |
FutureOrPresentValidatorForCalendar
Check that the
java.util.Calendar passed to be validated is in
the future. |
class |
FutureOrPresentValidatorForDate
Check that the
java.util.Date passed to be validated is in the
future. |
class |
FutureOrPresentValidatorForHijrahDate
Check that the
java.time.chrono.HijrahDate passed is in the future. |
class |
FutureOrPresentValidatorForInstant
Check that the
java.time.Instant passed is in the future. |
class |
FutureOrPresentValidatorForJapaneseDate
Check that the
java.time.chrono.JapaneseDate passed is in the future. |
class |
FutureOrPresentValidatorForLocalDate
Check that the
java.time.LocalDate passed is in the future. |
class |
FutureOrPresentValidatorForLocalDateTime
Check that the
java.time.LocalDateTime passed is in the future. |
class |
FutureOrPresentValidatorForLocalTime
Check that the
java.time.LocalTime passed is in the future. |
class |
FutureOrPresentValidatorForMinguoDate
Check that the
java.time.chrono.MinguoDate passed is in the future. |
class |
FutureOrPresentValidatorForMonthDay
Check that the
java.time.MonthDay passed is in the future. |
class |
FutureOrPresentValidatorForOffsetDateTime
Check that the
java.time.OffsetDateTime passed is in the future. |
class |
FutureOrPresentValidatorForOffsetTime
Check that the
java.time.OffsetTime passed is in the future. |
class |
FutureOrPresentValidatorForReadableInstant
Check if Joda Time type who implements
import org.joda.time.ReadableInstant is in the future. |
class |
FutureOrPresentValidatorForReadablePartial
Check if Joda Time type who implements
org.joda.time.ReadablePartial is in the future. |
class |
FutureOrPresentValidatorForThaiBuddhistDate
Check that the
java.time.chrono.ThaiBuddhistDate passed is in the future. |
class |
FutureOrPresentValidatorForYear
Check that the
java.time.Year passed is in the future. |
class |
FutureOrPresentValidatorForYearMonth
Check that the
java.time.YearMonth passed is in the future. |
class |
FutureOrPresentValidatorForZonedDateTime
Check that the
java.time.ZonedDateTime passed is in the future. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractPastEpochBasedValidator<T>
Base class for all
@Past validators that use an epoch to be compared to the time reference. |
class |
AbstractPastInstantBasedValidator<T>
Base class for all
@Past validators that use an Instant to be compared to the time reference. |
class |
AbstractPastJavaTimeValidator<T extends TemporalAccessor & Comparable<? super T>>
Base class for all
@Past validators that are based on the java.time package. |
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 |
PastValidatorForHijrahDate
Check that the
java.time.chrono.HijrahDate passed is in the past. |
class |
PastValidatorForInstant
Check that the
java.time.Instant passed is in the past. |
class |
PastValidatorForJapaneseDate
Check that the
java.time.chrono.JapaneseDate passed is in the past. |
class |
PastValidatorForLocalDate
Check that the
java.time.LocalDate passed is in the past. |
class |
PastValidatorForLocalDateTime
Check that the
java.time.LocalDateTime passed is in the past. |
class |
PastValidatorForLocalTime
Check that the
java.time.LocalTime passed is in the past. |
class |
PastValidatorForMinguoDate
Check that the
java.time.chrono.MinguoDate passed is in the past. |
class |
PastValidatorForMonthDay
Check that the
java.time.MonthDay passed is in the past. |
class |
PastValidatorForOffsetDateTime
Check that the
java.time.OffsetDateTime passed is in the past. |
class |
PastValidatorForOffsetTime
Check that the
java.time.OffsetTime passed is in the past. |
class |
PastValidatorForReadableInstant
Check if Joda Time type who implements
import 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 |
PastValidatorForThaiBuddhistDate
Check that the
java.time.chrono.ThaiBuddhistDate passed is in the past. |
class |
PastValidatorForYear
Check that the
java.time.Year passed is in the past. |
class |
PastValidatorForYearMonth
Check that the
java.time.YearMonth passed is in the past. |
class |
PastValidatorForZonedDateTime
Check that the
java.time.ZonedDateTime passed is in the past. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractPastOrPresentEpochBasedValidator<T>
Base class for all
@PastOrPresent validators that use an epoch to be compared to the time reference. |
class |
AbstractPastOrPresentInstantBasedValidator<T>
Base class for all
@PastOrPresent validators that use an Instant to be compared to the time reference. |
class |
AbstractPastOrPresentJavaTimeValidator<T extends TemporalAccessor & Comparable<? super T>>
Base class for all
@PastOrPresent validators that are based on the java.time package. |
class |
PastOrPresentValidatorForCalendar
Check that the
java.util.Calendar passed to be validated is in
the past. |
class |
PastOrPresentValidatorForDate
Check that the
java.util.Date passed to be validated is in the
past. |
class |
PastOrPresentValidatorForHijrahDate
Check that the
java.time.chrono.HijrahDate passed is in the past. |
class |
PastOrPresentValidatorForInstant
Check that the
java.time.Instant passed is in the past. |
class |
PastOrPresentValidatorForJapaneseDate
Check that the
java.time.chrono.JapaneseDate passed is in the past. |
class |
PastOrPresentValidatorForLocalDate
Check that the
java.time.LocalDate passed is in the past. |
class |
PastOrPresentValidatorForLocalDateTime
Check that the
java.time.LocalDateTime passed is in the past. |
class |
PastOrPresentValidatorForLocalTime
Check that the
java.time.LocalTime passed is in the past. |
class |
PastOrPresentValidatorForMinguoDate
Check that the
java.time.chrono.MinguoDate passed is in the past. |
class |
PastOrPresentValidatorForMonthDay
Check that the
java.time.MonthDay passed is in the past. |
class |
PastOrPresentValidatorForOffsetDateTime
Check that the
java.time.OffsetDateTime passed is in the past. |
class |
PastOrPresentValidatorForOffsetTime
Check that the
java.time.OffsetTime passed is in the past. |
class |
PastOrPresentValidatorForReadableInstant
Check if Joda Time type who implements
import org.joda.time.ReadableInstant is in the past. |
class |
PastOrPresentValidatorForReadablePartial
Check if Joda Time type who implements
org.joda.time.ReadablePartial is in the past. |
class |
PastOrPresentValidatorForThaiBuddhistDate
Check that the
java.time.chrono.ThaiBuddhistDate passed is in the past. |
class |
PastOrPresentValidatorForYear
Check that the
java.time.Year passed is in the past. |
class |
PastOrPresentValidatorForYearMonth
Check that the
java.time.YearMonth passed is in the past. |
class |
PastOrPresentValidatorForZonedDateTime
Check that the
java.time.ZonedDateTime passed is in the past. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractScriptAssertValidator<A extends Annotation,T> |
class |
CodePointLengthValidator
Check that the code point length of a character sequence is between min and max.
|
class |
EANValidator
Checks that a given character sequence (e.g.
|
class |
ISBNValidator
Checks that a given character sequence (e.g.
|
class |
LengthValidator
Check that the character sequence length is between min and max.
|
class |
LuhnCheckValidator
Luhn algorithm checksum validator
http://en.wikipedia.org/wiki/Luhn_algorithm
http://en.wikipedia.org/wiki/Check_digit
|
class |
Mod10CheckValidator
Mod10 (Luhn algorithm implementation) Check validator
http://en.wikipedia.org/wiki/Luhn_algorithm
http://en.wikipedia.org/wiki/Check_digit
|
class |
Mod11CheckValidator
Mod11 Check Digit validator
http://en.wikipedia.org/wiki/Check_digit
|
class |
ModCheckValidator
Deprecated.
As of release 5.1.0, replaced by
Mod10CheckValidator and Mod11CheckValidator |
class |
ParameterScriptAssertValidator
Validator for the
ParameterScriptAssert constraint annotation. |
class |
SafeHtmlValidator
Validate that the string does not contain malicious code.
|
class |
ScriptAssertValidator
Validator for the
ScriptAssert constraint annotation. |
class |
UniqueElementsValidator
Validates that the provided collection only contains unique elements, i.e.
|
class |
URLValidator
Validate that the character sequence (e.g.
|
Modifier and Type | Class and Description |
---|---|
class |
CNPJValidator |
class |
CPFValidator |
Modifier and Type | Class and Description |
---|---|
class |
NIPValidator
Validator for
NIP . |
class |
PESELValidator
Validator for
PESEL . |
class |
PolishNumberValidator<T extends Annotation>
A base class validator for different Polish identification numbers.
|
class |
REGONValidator
Validator for
REGON . |
Modifier and Type | Class and Description |
---|---|
class |
DurationMaxValidator
Checks that a validated
Duration length is shorter than or equal to the
one specified with the annotation. |
class |
DurationMinValidator
Checks that a validated
Duration length is longer than or equal to the
one specified with the annotation. |
Modifier and Type | Method and Description |
---|---|
<T extends ConstraintValidator<?,?>> |
ConstraintValidatorFactoryImpl.getInstance(Class<T> key) |
Modifier and Type | Method and Description |
---|---|
protected <T> ConstraintValidator<A,?> |
ConstraintTree.getInitializedConstraintValidator(ValidationContext<T> validationContext,
ValueContext<?,?> valueContext) |
<A extends Annotation> |
ConstraintValidatorManager.getInitializedValidator(Type validatedValueType,
ConstraintDescriptorImpl<A> descriptor,
ConstraintValidatorFactory constraintValidatorFactory,
HibernateConstraintValidatorInitializationContext initializationContext) |
ConstraintValidator<A,?> |
ConstraintValidatorDescriptor.newInstance(ConstraintValidatorFactory constraintValidatorFactory)
Creates a new instance of the represented implementation type.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends ConstraintValidator<A,?>> |
ConstraintValidatorDescriptor.getValidatorClass()
The implementation type of the represented validator.
|
Modifier and Type | Method and Description |
---|---|
void |
ConstraintValidatorFactoryImpl.releaseInstance(ConstraintValidator<?,?> instance) |
protected <T,V> Set<ConstraintViolation<T>> |
ConstraintTree.validateSingleConstraint(ValidationContext<T> executionContext,
ValueContext<?,?> valueContext,
ConstraintValidatorContextImpl constraintValidatorContext,
ConstraintValidator<A,V> validator) |
Modifier and Type | Method and Description |
---|---|
static <A extends Annotation> |
ConstraintValidatorDescriptor.forClass(Class<? extends ConstraintValidator<A,?>> validatorClass,
Class<? extends Annotation> constraintAnnotationType) |
Modifier and Type | Method and Description |
---|---|
List<Class<? extends ConstraintValidator<T,?>>> |
ConstraintDescriptorImpl.getConstraintValidatorClasses() |
Modifier and Type | Method and Description |
---|---|
static Type |
TypeHelper.extractConstraintType(Class<? extends ConstraintValidator<?,?>> validator) |
static Type |
TypeHelper.extractConstraintValidatorTypeArgumentType(Class<? extends ConstraintValidator<?,?>> validator,
int typeArgumentIndex) |
static Type |
TypeHelper.extractValidatedType(Class<? extends ConstraintValidator<?,?>> validator) |
Copyright © 2019 JBoss by Red Hat. All rights reserved.