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.
|
org.hibernate.validator.messageinterpolation |
Implementations of the MessageInterpolator interface in particular ResourceBundleMessageInterpolator which can be used
by custom implementations of the interface for delegation.
|
Modifier and Type | Method and Description |
---|---|
MessageInterpolator |
Configuration.getDefaultMessageInterpolator()
Return an implementation of the
MessageInterpolator interface
following the default MessageInterpolator defined in the
specification:
use the ValidationMessages resource bundle to load keys
use Locale.getDefault()
|
MessageInterpolator |
ValidatorFactory.getMessageInterpolator()
Returns the
MessageInterpolator instance configured at
initialization time for the ValidatorFactory |
Modifier and Type | Method and Description |
---|---|
ValidatorContext |
ValidatorContext.messageInterpolator(MessageInterpolator messageInterpolator)
Defines the message interpolator implementation used by the
Validator . |
T |
Configuration.messageInterpolator(MessageInterpolator interpolator)
Defines the message interpolator used.
|
Modifier and Type | Method and Description |
---|---|
MessageInterpolator |
ConfigurationState.getMessageInterpolator()
Returns the message interpolator of this configuration.
|
Modifier and Type | Method and Description |
---|---|
HibernateValidatorContext |
HibernateValidatorContext.messageInterpolator(MessageInterpolator messageInterpolator) |
Modifier and Type | Field and Description |
---|---|
protected MessageInterpolator |
ValidationContext.messageInterpolator
The message resolver which should be used in this context.
|
Modifier and Type | Method and Description |
---|---|
MessageInterpolator |
ConfigurationImpl.getDefaultMessageInterpolator() |
MessageInterpolator |
ValidatorFactoryImpl.getMessageInterpolator() |
MessageInterpolator |
ConfigurationImpl.getMessageInterpolator() |
Modifier and Type | Method and Description |
---|---|
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) |
HibernateValidatorContext |
ValidatorContextImpl.messageInterpolator(MessageInterpolator messageInterpolator) |
ConfigurationImpl |
ConfigurationImpl.messageInterpolator(MessageInterpolator interpolator) |
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 |
---|---|
MessageInterpolator |
LazyValidatorFactory.getMessageInterpolator()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
MessageInterpolator |
ValidationBootstrapParameters.getMessageInterpolator() |
Modifier and Type | Method and Description |
---|---|
void |
ValidationBootstrapParameters.setMessageInterpolator(MessageInterpolator messageInterpolator) |
Modifier and Type | Class and Description |
---|---|
class |
ResourceBundleMessageInterpolator
Resource bundle backed message interpolator.
|
class |
ValueFormatterMessageInterpolator
A message interpolator which can interpolate the validated value and format this value using the syntax from
Formatter . |
Constructor and Description |
---|
ValueFormatterMessageInterpolator(MessageInterpolator userMessageInterpolator) |
Copyright © 2018 JBoss by Red Hat. All rights reserved.