private static class SpringValidatorAdapter.ResolvableAttribute extends java.lang.Object implements MessageSourceResolvable, java.io.Serializable
MessageSource
,
falling back to the original attribute as a default value otherwise.Modifier and Type | Field and Description |
---|---|
private java.lang.String |
resolvableString |
Constructor and Description |
---|
ResolvableAttribute(java.lang.String resolvableString) |
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.
|
public ResolvableAttribute(java.lang.String resolvableString)
public java.lang.String[] getCodes()
MessageSourceResolvable
getCodes
in interface MessageSourceResolvable
public java.lang.Object[] getArguments()
MessageSourceResolvable
getArguments
in interface MessageSourceResolvable
MessageFormat
public java.lang.String getDefaultMessage()
MessageSourceResolvable
getDefaultMessage
in interface MessageSourceResolvable
null
if no default