Package | Description |
---|---|
javax.validation |
Top level package of the Bean Validation API.
|
javax.validation.spi |
Package containing objects specific to the interaction between the
Bean Validation bootstrapping process and Bean Validation providers.
|
org.apache.cxf.validation | |
org.hibernate.validator |
Bootstrap classes HibernateValidator and
HibernateValidatorConfiguration which uniquely identify Hibernate
Validator and allow to configure it.
|
org.hibernate.validator.internal.cfg.context |
Creational context implementations of the API for programmatic
constraint definition.
|
org.hibernate.validator.internal.engine |
Implementations for the core interfaces of JSR-303.
|
org.hibernate.validator.internal.metadata |
Implementations of the Bean Validation metadata interfaces as well as Hibernate Validator specific meta data classes.
|
org.hibernate.validator.internal.metadata.provider |
Abstraction of the meta data sources - annotation, xml, programmatic
|
org.hibernate.validator.internal.metadata.raw |
The raw metadata is a reflection of all configured constraints including constraints defined via multiple
configuration sources.
|
org.hibernate.validator.internal.xml |
Classes for parsing of Bean Validation XML configuration files.
|
org.hibernate.validator.parameternameprovider |
Custom Hibernate Validator
javax.validation.ParameterNameProvider implementations. |
Modifier and Type | Method and Description |
---|---|
ParameterNameProvider |
Configuration.getDefaultParameterNameProvider()
Returns an implementation of the
ParameterNameProvider
interface following the default ParameterNameProvider
defined in the specification:
returns names in the form arg<PARAMETER_INDEX>
where PARAMETER_INDEX starts at 0 for the first parameter,
e.g. |
ParameterNameProvider |
ValidatorFactory.getParameterNameProvider()
Returns the
ParameterNameProvider instance configured at
initialization time for the ValidatorFactory . |
Modifier and Type | Method and Description |
---|---|
ValidatorContext |
ValidatorContext.parameterNameProvider(ParameterNameProvider parameterNameProvider)
Defines the parameter name provider implementation used by the
Validator . |
T |
Configuration.parameterNameProvider(ParameterNameProvider parameterNameProvider)
Defines the parameter name provider.
|
Modifier and Type | Method and Description |
---|---|
ParameterNameProvider |
ConfigurationState.getParameterNameProvider()
Returns the parameter name provider for this configuration.
|
Modifier and Type | Method and Description |
---|---|
ParameterNameProvider |
ValidationConfiguration.getParameterNameProvider() |
Modifier and Type | Method and Description |
---|---|
void |
ValidationConfiguration.setParameterNameProvider(ParameterNameProvider parameterNameProvider) |
Constructor and Description |
---|
BeanValidationProvider(ParameterNameProvider parameterNameProvider) |
ValidationConfiguration(ParameterNameProvider parameterNameProvider) |
Modifier and Type | Method and Description |
---|---|
HibernateValidatorContext |
HibernateValidatorContext.parameterNameProvider(ParameterNameProvider parameterNameProvider) |
Modifier and Type | Method and Description |
---|---|
Set<BeanConfiguration<?>> |
DefaultConstraintMapping.getBeanConfigurations(ConstraintHelper constraintHelper,
ParameterNameProvider parameterNameProvider)
Returns all bean configurations configured through this constraint mapping.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultParameterNameProvider
A default
ParameterNameProvider implementation which returns
parameter names in the form arg0 , arg1 etc. |
Modifier and Type | Method and Description |
---|---|
ParameterNameProvider |
ConfigurationImpl.getDefaultParameterNameProvider() |
ParameterNameProvider |
ValidatorFactoryImpl.getParameterNameProvider() |
ParameterNameProvider |
ConfigurationImpl.getParameterNameProvider() |
Modifier and Type | Method and Description |
---|---|
<T> ValidationContext<T> |
ValidationContext.ValidationContextBuilder.forValidateParameters(ParameterNameProvider parameterNameProvider,
T rootBean,
ExecutableElement executable,
Object[] executableParameters) |
HibernateValidatorContext |
ValidatorContextImpl.parameterNameProvider(ParameterNameProvider parameterNameProvider) |
HibernateValidatorConfiguration |
ConfigurationImpl.parameterNameProvider(ParameterNameProvider parameterNameProvider) |
Constructor and Description |
---|
ValidatorImpl(ConstraintValidatorFactory constraintValidatorFactory,
MessageInterpolator messageInterpolator,
TraversableResolver traversableResolver,
BeanMetaDataManager beanMetaDataManager,
ParameterNameProvider parameterNameProvider,
TimeProvider timeProvider,
TypeResolutionHelper typeResolutionHelper,
List<ValidatedValueUnwrapper<?>> validatedValueHandlers,
ConstraintValidatorManager constraintValidatorManager,
boolean failFast) |
Constructor and Description |
---|
BeanMetaDataManager(ConstraintHelper constraintHelper,
ExecutableHelper executableHelper,
ParameterNameProvider parameterNameProvider,
List<MetaDataProvider> optionalMetaDataProviders)
Creates a new
BeanMetaDataManager . |
BeanMetaDataManager(ConstraintHelper constraintHelper,
ExecutableHelper executableHelper,
ParameterNameProvider parameterNameProvider,
List<MetaDataProvider> optionalMetaDataProviders,
MethodValidationConfiguration methodValidationConfiguration) |
Modifier and Type | Field and Description |
---|---|
protected ParameterNameProvider |
AnnotationMetaDataProvider.parameterNameProvider |
Constructor and Description |
---|
AnnotationMetaDataProvider(ConstraintHelper constraintHelper,
ParameterNameProvider parameterNameProvider,
AnnotationProcessingOptions annotationProcessingOptions) |
ProgrammaticMetaDataProvider(ConstraintHelper constraintHelper,
ParameterNameProvider parameterNameProvider,
Set<DefaultConstraintMapping> constraintMappings) |
TypeAnnotationAwareMetaDataProvider(ConstraintHelper constraintHelper,
ParameterNameProvider parameterNameProvider,
AnnotationProcessingOptions annotationProcessingOptions) |
XmlMetaDataProvider(ConstraintHelper constraintHelper,
ParameterNameProvider parameterNameProvider,
Set<InputStream> mappingStreams,
ClassLoader externalClassLoader)
Creates a new
XmlMetaDataProvider . |
Modifier and Type | Method and Description |
---|---|
abstract List<String> |
ExecutableElement.getParameterNames(ParameterNameProvider parameterNameProvider) |
Modifier and Type | Method and Description |
---|---|
ParameterNameProvider |
ValidationBootstrapParameters.getParameterNameProvider() |
Modifier and Type | Method and Description |
---|---|
void |
ValidationBootstrapParameters.setParameterNameProvider(ParameterNameProvider parameterNameProvider) |
Constructor and Description |
---|
XmlMappingParser(ConstraintHelper constraintHelper,
ParameterNameProvider parameterNameProvider,
ClassLoader externalClassLoader) |
Modifier and Type | Class and Description |
---|---|
class |
ParanamerParameterNameProvider
A
ParameterNameProvider implementation backed by the ParaNamer
library. |
class |
ReflectionParameterNameProvider
Uses Java 8 reflection to get the parameter names.
|
Copyright © 2017 JBoss by Red Hat. All rights reserved.