public interface MessageSourceResolvable
MessageSource
.
Spring's own validation error classes implement this interface.
MessageSource.getMessage(MessageSourceResolvable, java.util.Locale)
,
ObjectError
,
FieldError
Modifier and Type | Method and Description |
---|---|
Object[] |
getArguments()
Return the array of arguments to be used to resolve this message.
|
String[] |
getCodes()
Return the codes to be used to resolve this message, in the order that
they should get tried.
|
String |
getDefaultMessage()
Return the default message to be used to resolve this message.
|
String[] getCodes()
Object[] getArguments()
MessageFormat
String getDefaultMessage()
null
if no default