Package | Description |
---|---|
javax.validation | |
javax.validation.spi | |
org.hibernate.validator |
Bootstrap classes HibernateValidator and
HibernateValidatorConfiguration which uniquely identify Hibernate
Validator and allow to configure it.
|
org.hibernate.validator.internal.engine |
Implementations for the core interfaces of JSR-303.
|
org.hibernate.validator.internal.util |
Independent helper classes.
|
org.hibernate.validator.internal.xml |
Classes used to parse Bean Validation XML configuration files.
|
Modifier and Type | Method and Description |
---|---|
ConstraintValidatorFactory |
ValidatorFactory.getConstraintValidatorFactory()
Returns the
ConstraintValidatorFactory instance
configured at initialization time for the
ValidatorFactory |
ConstraintValidatorFactory |
Configuration.getDefaultConstraintValidatorFactory()
Return an implementation of the
ConstraintValidatorFactory interface
following the default ConstraintValidatorFactory defined in the
specification:
uses the public no-arg constructor of the ConstraintValidator
|
Modifier and Type | Method and Description |
---|---|
ValidatorContext |
ValidatorContext.constraintValidatorFactory(ConstraintValidatorFactory factory)
Defines the constraint validator factory implementation used by the
Validator . |
T |
Configuration.constraintValidatorFactory(ConstraintValidatorFactory constraintValidatorFactory)
Defines the constraint validator factory.
|
Modifier and Type | Method and Description |
---|---|
ConstraintValidatorFactory |
ConfigurationState.getConstraintValidatorFactory()
Returns the constraint validator factory of this configuration.
|
Modifier and Type | Method and Description |
---|---|
HibernateValidatorContext |
HibernateValidatorContext.constraintValidatorFactory(ConstraintValidatorFactory factory) |
Modifier and Type | Class and Description |
---|---|
class |
ConstraintValidatorFactoryImpl
Default
ConstraintValidatorFactory using a no-arg constructor. |
Modifier and Type | Method and Description |
---|---|
ConstraintValidatorFactory |
ValidatorFactoryImpl.getConstraintValidatorFactory() |
ConstraintValidatorFactory |
ValidationContext.getConstraintValidatorFactory() |
ConstraintValidatorFactory |
ConfigurationImpl.getConstraintValidatorFactory() |
ConstraintValidatorFactory |
ConfigurationImpl.getDefaultConstraintValidatorFactory() |
Modifier and Type | Method and Description |
---|---|
HibernateValidatorContext |
ValidatorContextImpl.constraintValidatorFactory(ConstraintValidatorFactory factory) |
ConfigurationImpl |
ConfigurationImpl.constraintValidatorFactory(ConstraintValidatorFactory constraintValidatorFactory) |
static <T> ValidationContext<T,ConstraintViolation<T>> |
ValidationContext.getContextForValidate(T object,
MessageInterpolator messageInterpolator,
ConstraintValidatorFactory constraintValidatorFactory,
TraversableResolver traversableResolver,
boolean failFast) |
static <T> MethodValidationContext<T> |
ValidationContext.getContextForValidateParameter(Method method,
int parameterIndex,
T object,
MessageInterpolator messageInterpolator,
ConstraintValidatorFactory constraintValidatorFactory,
TraversableResolver traversableResolver,
boolean failFast) |
static <T> MethodValidationContext<T> |
ValidationContext.getContextForValidateParameters(Method method,
T object,
MessageInterpolator messageInterpolator,
ConstraintValidatorFactory constraintValidatorFactory,
TraversableResolver traversableResolver,
boolean failFast) |
static <T> ValidationContext<T,ConstraintViolation<T>> |
ValidationContext.getContextForValidateProperty(T rootBean,
MessageInterpolator messageInterpolator,
ConstraintValidatorFactory constraintValidatorFactory,
TraversableResolver traversableResolver,
boolean failFast) |
static <T> ValidationContext<T,ConstraintViolation<T>> |
ValidationContext.getContextForValidateValue(Class<T> rootBeanClass,
MessageInterpolator messageInterpolator,
ConstraintValidatorFactory constraintValidatorFactory,
TraversableResolver traversableResolver,
boolean failFast) |
Constructor and Description |
---|
MethodValidationContext(Class<T> rootBeanClass,
T rootBean,
Method method,
Integer parameterIndex,
MessageInterpolator messageInterpolator,
ConstraintValidatorFactory constraintValidatorFactory,
TraversableResolver traversableResolver,
boolean failFast) |
MethodValidationContext(Class<T> rootBeanClass,
T rootBean,
Method method,
MessageInterpolator messageInterpolator,
ConstraintValidatorFactory constraintValidatorFactory,
TraversableResolver traversableResolver,
boolean failFast) |
StandardValidationContext(Class<T> rootBeanClass,
T rootBean,
MessageInterpolator messageInterpolator,
ConstraintValidatorFactory constraintValidatorFactory,
TraversableResolver traversableResolver,
boolean failFast) |
ValidationContext(Class<T> rootBeanClass,
T rootBean,
MessageInterpolator messageInterpolator,
ConstraintValidatorFactory constraintValidatorFactory,
TraversableResolver traversableResolver,
boolean failFast) |
ValidatorContextImpl(ConstraintValidatorFactory constraintValidatorFactory,
MessageInterpolator factoryMessageInterpolator,
TraversableResolver factoryTraversableResolver,
BeanMetaDataManager beanMetaDataManager,
boolean failFast) |
ValidatorImpl(ConstraintValidatorFactory constraintValidatorFactory,
MessageInterpolator messageInterpolator,
TraversableResolver traversableResolver,
BeanMetaDataManager beanMetaDataManager,
boolean failFast) |
Modifier and Type | Method and Description |
---|---|
ConstraintValidatorFactory |
LazyValidatorFactory.getConstraintValidatorFactory()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ConstraintValidatorFactory |
ValidationBootstrapParameters.getConstraintValidatorFactory() |
Modifier and Type | Method and Description |
---|---|
void |
ValidationBootstrapParameters.setConstraintValidatorFactory(ConstraintValidatorFactory constraintValidatorFactory) |
Copyright © 2018 JBoss by Red Hat. All rights reserved.