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 |
---|---|
java.lang.Object[] |
getArguments()
Return the array of arguments to be used to resolve this message.
|
java.lang.String[] |
getCodes()
Return the codes to be used to resolve this message, in the order that
they should get tried.
|
java.lang.String |
getDefaultMessage()
Return the default message to be used to resolve this message.
|
java.lang.String[] getCodes()
java.lang.Object[] getArguments()
MessageFormat
java.lang.String getDefaultMessage()
null
if no default