Package | Description |
---|---|
jakarta.validation |
Top level package of the Jakarta Bean Validation API.
|
jakarta.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 |
---|---|
MessageInterpolator |
Configuration.getDefaultMessageInterpolator()
Returns 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.
|
Comments to: bean-validation-dev@eclipse.org.
Copyright © 2019,2020 Eclipse Foundation.
Use is subject to EFSL; this spec is based on material that is licensed under the Apache License, version 2.0.