Package | Description |
---|---|
javax.validation |
Top level package of the Jakarta Bean Validation API.
|
javax.validation.spi |
Package containing objects specific to the interaction between the
Jakarta Bean Validation bootstrapping process and Jakarta 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.engine |
Implementations for the core interfaces of JSR-380.
|
org.hibernate.validator.internal.util |
Independent helper classes.
|
org.hibernate.validator.internal.util.logging |
Logging classes.
|
org.hibernate.validator.internal.xml.config | |
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 the actual parameter names as provided in the validated
executable’s definition, if the class file of the executable contains
parameter name information
otherwise 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 |
---|---|
T |
Configuration.parameterNameProvider(ParameterNameProvider parameterNameProvider)
Defines the parameter name provider.
|
ValidatorContext |
ValidatorContext.parameterNameProvider(ParameterNameProvider parameterNameProvider)
Defines the parameter name provider implementation used by the
Validator . |
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 | Class and Description |
---|---|
class |
DefaultParameterNameProvider
A default
ParameterNameProvider implementation which returns parameter names obtained from the Java
reflection API as mandated by the BV specification. |
Modifier and Type | Method and Description |
---|---|
ParameterNameProvider |
ConfigurationImpl.getDefaultParameterNameProvider() |
ParameterNameProvider |
ConfigurationImpl.getParameterNameProvider() |
ParameterNameProvider |
ValidatorFactoryImpl.getParameterNameProvider() |
Modifier and Type | Method and Description |
---|---|
HibernateValidatorConfiguration |
ConfigurationImpl.parameterNameProvider(ParameterNameProvider parameterNameProvider) |
HibernateValidatorContext |
ValidatorContextImpl.parameterNameProvider(ParameterNameProvider parameterNameProvider) |
Modifier and Type | Method and Description |
---|---|
ParameterNameProvider |
ExecutableParameterNameProvider.getDelegate() |
Constructor and Description |
---|
ExecutableParameterNameProvider(ParameterNameProvider delegate) |
Modifier and Type | Method and Description |
---|---|
void |
Log_$logger.usingParameterNameProvider(Class<? extends ParameterNameProvider> parameterNameProviderClass) |
void |
Log.usingParameterNameProvider(Class<? extends ParameterNameProvider> parameterNameProviderClass) |
Modifier and Type | Method and Description |
---|---|
ParameterNameProvider |
ValidationBootstrapParameters.getParameterNameProvider() |
Modifier and Type | Method and Description |
---|---|
void |
ValidationBootstrapParameters.setParameterNameProvider(ParameterNameProvider parameterNameProvider) |
Modifier and Type | Class and Description |
---|---|
class |
ParanamerParameterNameProvider
A
ParameterNameProvider implementation backed by the ParaNamer
library. |
class |
ReflectionParameterNameProvider
Deprecated.
since 6.0 - getting the parameter names via reflection is now enabled by default. Planned for removal.
|
Copyright © 2020 JBoss by Red Hat. All rights reserved.