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.
|
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 |
---|---|
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.
|
This spec is licensed under the EFSL; this spec is based on material that is licensed under the Apache License, version 2.0.