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.
|
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.
|
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.