Uses of Interface
org.springframework.context.MessageSourceResolvable
Package
Description
This package builds on the beans package to add support for
message sources and for the Observer design pattern, and the
ability for application objects to obtain resources using a
consistent API.
Classes supporting the org.springframework.context package,
such as abstract base classes for ApplicationContext
implementations and a MessageSource implementation.
Provides data binding and validation functionality,
for usage in business and/or UI layers.
Support classes for integrating a JSR-303 Bean Validation provider
(such as Hibernate Validator) into a Spring ApplicationContext
and in particular with Spring's data binding and validation APIs.
Abstractions and support classes for method validation, independent of the
underlying validation library.
-
Uses of MessageSourceResolvable in org.springframework.context
Modifier and TypeMethodDescriptionMessageSource.getMessage
(MessageSourceResolvable resolvable, Locale locale) Try to resolve the message using all the attributes contained within theMessageSourceResolvable
argument that was passed in. -
Uses of MessageSourceResolvable in org.springframework.context.support
Modifier and TypeClassDescriptionclass
Spring's default implementation of theMessageSourceResolvable
interface.Modifier and TypeMethodDescriptionprotected String
AbstractMessageSource.getDefaultMessage
(MessageSourceResolvable resolvable, Locale locale) Get a default message for the givenMessageSourceResolvable
.AbstractApplicationContext.getMessage
(MessageSourceResolvable resolvable, Locale locale) final String
AbstractMessageSource.getMessage
(MessageSourceResolvable resolvable, Locale locale) DelegatingMessageSource.getMessage
(MessageSourceResolvable resolvable, Locale locale) MessageSourceAccessor.getMessage
(MessageSourceResolvable resolvable) Retrieve the given MessageSourceResolvable (e.g.MessageSourceAccessor.getMessage
(MessageSourceResolvable resolvable, Locale locale) Retrieve the given MessageSourceResolvable (e.g.ModifierConstructorDescriptionCopy constructor: Create a new instance from another resolvable. -
Uses of MessageSourceResolvable in org.springframework.validation
Modifier and TypeClassDescriptionclass
Encapsulates a field error, that is, a reason for rejecting a specific field value.class
Encapsulates an object error, that is, a global reason for rejecting an object. -
Uses of MessageSourceResolvable in org.springframework.validation.beanvalidation
Modifier and TypeMethodDescriptionprotected MessageSourceResolvable
SpringValidatorAdapter.getResolvableField
(String objectName, String field) Build a resolvable wrapper for the specified field, allowing to resolve the field's name in aMessageSource
. -
Uses of MessageSourceResolvable in org.springframework.validation.method
Modifier and TypeMethodDescriptiondefault List<? extends MessageSourceResolvable>
MethodValidationResult.getAllErrors()
Return a single list with all errors from all validation results.ParameterValidationResult.getResolvableErrors()
List ofMessageSourceResolvable
representations adapted from the validation errors of the validation library.ModifierConstructorDescriptionParameterValidationResult
(org.springframework.core.MethodParameter param, Object arg, Collection<? extends MessageSourceResolvable> errors) Deprecated, for removal: This API element is subject to removal in a future version.ParameterValidationResult
(org.springframework.core.MethodParameter param, Object arg, Collection<? extends MessageSourceResolvable> errors, Object container, Integer index, Object key) Create aParameterValidationResult
.
ParameterValidationResult(MethodParameter, Object, Collection, Object, Integer, Object)