Uses of Interface
org.springframework.context.MessageSourceResolvable
Packages that use 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.
Support classes for annotation-based handler method processing.
Support for result handling through view resolution.
Support classes for Spring's web MVC framework.
This package contains Spring's JSP standard tag library for JSP 2.0+.
Miscellaneous web utility classes, such as HTML escaping and cookie handling.
-
Uses of MessageSourceResolvable in org.springframework.context
Methods in org.springframework.context with parameters of type MessageSourceResolvableModifier and TypeMethodDescriptionMessageSource.getMessage(MessageSourceResolvable resolvable, @Nullable Locale locale) Try to resolve the message using all the attributes contained within theMessageSourceResolvableargument that was passed in. -
Uses of MessageSourceResolvable in org.springframework.context.support
Classes in org.springframework.context.support that implement MessageSourceResolvableModifier and TypeClassDescriptionclassSpring's default implementation of theMessageSourceResolvableinterface.Methods in org.springframework.context.support with parameters of type MessageSourceResolvableModifier and TypeMethodDescriptionAbstractMessageSource.getDefaultMessage(MessageSourceResolvable resolvable, @Nullable Locale locale) Get a default message for the givenMessageSourceResolvable.AbstractApplicationContext.getMessage(MessageSourceResolvable resolvable, @Nullable Locale locale) final StringAbstractMessageSource.getMessage(MessageSourceResolvable resolvable, @Nullable Locale locale) DelegatingMessageSource.getMessage(MessageSourceResolvable resolvable, @Nullable Locale locale) MessageSourceAccessor.getMessage(MessageSourceResolvable resolvable) Retrieve the given MessageSourceResolvable (for example, an ObjectError instance) in the default Locale.MessageSourceAccessor.getMessage(MessageSourceResolvable resolvable, Locale locale) Retrieve the given MessageSourceResolvable (for example, an ObjectError instance) in the given Locale.Constructors in org.springframework.context.support with parameters of type MessageSourceResolvableModifierConstructorDescriptionCopy constructor: Create a new instance from another resolvable. -
Uses of MessageSourceResolvable in org.springframework.validation
Classes in org.springframework.validation that implement MessageSourceResolvableModifier and TypeClassDescriptionclassEncapsulates a field error, that is, a reason for rejecting a specific field value.classEncapsulates an object error, that is, a global reason for rejecting an object. -
Uses of MessageSourceResolvable in org.springframework.validation.beanvalidation
Methods in org.springframework.validation.beanvalidation that return MessageSourceResolvableModifier and TypeMethodDescriptionprotected MessageSourceResolvableSpringValidatorAdapter.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
Methods in org.springframework.validation.method that return types with arguments of type MessageSourceResolvableModifier and TypeMethodDescriptiondefault List<? extends MessageSourceResolvable> MethodValidationResult.getAllErrors()Return a single list with all errors from all validation results.MethodValidationException.getCrossParameterValidationResults()MethodValidationResult.getCrossParameterValidationResults()Return errors from cross-parameter validation.ParameterValidationResult.getResolvableErrors()List ofMessageSourceResolvablerepresentations adapted from the validation errors of the validation library.Methods in org.springframework.validation.method with parameters of type MessageSourceResolvableModifier and TypeMethodDescription<T> TParameterValidationResult.unwrap(MessageSourceResolvable error, Class<T> sourceType) Unwrap the source behind the given error.Constructor parameters in org.springframework.validation.method with type arguments of type MessageSourceResolvableModifierConstructorDescriptionParameterValidationResult(MethodParameter param, @Nullable Object arg, Collection<? extends MessageSourceResolvable> errors, @Nullable Object container, @Nullable Integer index, @Nullable Object key, BiFunction<MessageSourceResolvable, Class<?>, Object> sourceLookup) Create aParameterValidationResult.ParameterValidationResult(MethodParameter param, @Nullable Object arg, Collection<? extends MessageSourceResolvable> errors, @Nullable Object container, @Nullable Integer index, @Nullable Object key, BiFunction<MessageSourceResolvable, Class<?>, Object> sourceLookup) Create aParameterValidationResult. -
Uses of MessageSourceResolvable in org.springframework.web.method.annotation
Methods in org.springframework.web.method.annotation that return types with arguments of type MessageSourceResolvableModifier and TypeMethodDescriptionHandlerMethodValidationException.getCrossParameterValidationResults() -
Uses of MessageSourceResolvable in org.springframework.web.reactive.result.view
Methods in org.springframework.web.reactive.result.view with parameters of type MessageSourceResolvableModifier and TypeMethodDescriptionRequestContext.getMessage(MessageSourceResolvable resolvable) Retrieve the given MessageSourceResolvable (for example, an ObjectError instance), using the "defaultHtmlEscape" setting.RequestContext.getMessage(MessageSourceResolvable resolvable, boolean htmlEscape) Retrieve the given MessageSourceResolvable (for example, an ObjectError instance). -
Uses of MessageSourceResolvable in org.springframework.web.servlet.support
Methods in org.springframework.web.servlet.support with parameters of type MessageSourceResolvableModifier and TypeMethodDescriptionRequestContext.getMessage(MessageSourceResolvable resolvable) Retrieve the given MessageSourceResolvable (for example, an ObjectError instance), using the "defaultHtmlEscape" setting.RequestContext.getMessage(MessageSourceResolvable resolvable, boolean htmlEscape) Retrieve the given MessageSourceResolvable (for example, an ObjectError instance). -
Uses of MessageSourceResolvable in org.springframework.web.servlet.tags
Methods in org.springframework.web.servlet.tags with parameters of type MessageSourceResolvableModifier and TypeMethodDescriptionvoidMessageTag.setMessage(MessageSourceResolvable message) Set the MessageSourceResolvable for this tag. -
Uses of MessageSourceResolvable in org.springframework.web.util
Methods in org.springframework.web.util with type parameters of type MessageSourceResolvableModifier and TypeMethodDescriptionstatic <E extends MessageSourceResolvable>
Map<E, String> Shortcut forBindErrorUtils.resolve(List, MessageSource, Locale)with an emptyMessageSourcethat simply formats the default message, or first error code, also prepending the field name for field errors.static <E extends MessageSourceResolvable>
Map<E, String> BindErrorUtils.resolve(List<E> errors, MessageSource messageSource, Locale locale) Resolve all errors through the givenMessageSource.Method parameters in org.springframework.web.util with type arguments of type MessageSourceResolvableModifier and TypeMethodDescriptionstatic StringBindErrorUtils.resolveAndJoin(CharSequence delimiter, CharSequence prefix, CharSequence suffix, List<? extends MessageSourceResolvable> errors, MessageSource messageSource, Locale locale) Resolve all errors through the givenMessageSourceand join them.static StringBindErrorUtils.resolveAndJoin(List<? extends MessageSourceResolvable> errors) Shortcut forBindErrorUtils.resolveAndJoin(List, MessageSource, Locale)with an emptyMessageSourcethat simply formats the default message, or first error code, also prepending the field name for field errors.static StringBindErrorUtils.resolveAndJoin(List<? extends MessageSourceResolvable> errors, MessageSource messageSource, Locale locale) Shortcut forBindErrorUtils.resolveAndJoin(CharSequence, CharSequence, CharSequence, List, MessageSource, Locale)with", and "as delimiter, and an empty prefix and suffix.