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