Package | Description |
---|---|
org.springframework.context |
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.
|
org.springframework.context.support |
Classes supporting the org.springframework.context package,
such as abstract base classes for ApplicationContext
implementations and a MessageSource implementation.
|
org.springframework.validation |
Provides data binding and validation functionality,
for usage in business and/or UI layers.
|
org.springframework.validation.beanvalidation |
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.
|
org.springframework.web.reactive.result.view |
Support for result handling through view resolution.
|
org.springframework.web.servlet.support |
Support classes for Spring's web MVC framework.
|
org.springframework.web.servlet.tags |
This package contains Spring's JSP standard tag library for JSP 2.0+.
|
Modifier and Type | Method and Description |
---|---|
String |
MessageSource.getMessage(MessageSourceResolvable resolvable,
Locale locale)
Try to resolve the message using all the attributes contained within the
MessageSourceResolvable argument that was passed in. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultMessageSourceResolvable
Spring's default implementation of the
MessageSourceResolvable interface. |
Modifier and Type | Method and Description |
---|---|
protected String |
AbstractMessageSource.getDefaultMessage(MessageSourceResolvable resolvable,
Locale locale)
Get a default message for the given
MessageSourceResolvable . |
String |
MessageSourceAccessor.getMessage(MessageSourceResolvable resolvable)
Retrieve the given MessageSourceResolvable (e.g.
|
String |
AbstractMessageSource.getMessage(MessageSourceResolvable resolvable,
Locale locale) |
String |
MessageSourceAccessor.getMessage(MessageSourceResolvable resolvable,
Locale locale)
Retrieve the given MessageSourceResolvable (e.g.
|
String |
AbstractApplicationContext.getMessage(MessageSourceResolvable resolvable,
Locale locale) |
String |
DelegatingMessageSource.getMessage(MessageSourceResolvable resolvable,
Locale locale) |
Constructor and Description |
---|
DefaultMessageSourceResolvable(MessageSourceResolvable resolvable)
Copy constructor: Create a new instance from another resolvable.
|
Modifier and Type | Class and Description |
---|---|
class |
FieldError
Encapsulates a field error, that is, a reason for rejecting a specific
field value.
|
class |
ObjectError
Encapsulates an object error, that is, a global reason for rejecting
an object.
|
Modifier and Type | Method and Description |
---|---|
protected MessageSourceResolvable |
SpringValidatorAdapter.getResolvableField(String objectName,
String field)
Build a resolvable wrapper for the specified field, allowing to resolve the field's
name in a
MessageSource . |
Modifier and Type | Method and Description |
---|---|
String |
RequestContext.getMessage(MessageSourceResolvable resolvable)
Retrieve the given MessageSourceResolvable (e.g.
|
String |
RequestContext.getMessage(MessageSourceResolvable resolvable,
boolean htmlEscape)
Retrieve the given MessageSourceResolvable (e.g.
|
Modifier and Type | Method and Description |
---|---|
String |
RequestContext.getMessage(MessageSourceResolvable resolvable)
Retrieve the given MessageSourceResolvable (e.g.
|
String |
RequestContext.getMessage(MessageSourceResolvable resolvable,
boolean htmlEscape)
Retrieve the given MessageSourceResolvable (e.g.
|
String |
RequestContext.getThemeMessage(MessageSourceResolvable resolvable)
Retrieve the given MessageSourceResolvable in the current theme.
|
Modifier and Type | Method and Description |
---|---|
void |
MessageTag.setMessage(MessageSourceResolvable message)
Set the MessageSourceResolvable for this tag.
|