|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MessageSourceResolvable
Interface for objects that are suitable for message resolution in a
MessageSource
.
Spring's own validation error classes implement this interface.
MessageSource.getMessage(MessageSourceResolvable, java.util.Locale)
,
ObjectError
,
FieldError
Method Summary | |
---|---|
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. |
Method Detail |
---|
String[] getCodes()
Object[] getArguments()
MessageFormat
String getDefaultMessage()
null
if no default
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |