public interface MessageCodesResolver
The resulting message codes correspond to the codes of a MessageSourceResolvable (as implemented by ObjectError and FieldError).
DataBinder.setMessageCodesResolver(org.springframework.validation.MessageCodesResolver), 
ObjectError, 
FieldError, 
MessageSourceResolvable.getCodes()| Modifier and Type | Method and Description | 
|---|---|
String[] | 
resolveMessageCodes(String errorCode,
                   String objectName)
Build message codes for the given error code and object name. 
 | 
String[] | 
resolveMessageCodes(String errorCode,
                   String objectName,
                   String field,
                   Class<?> fieldType)
Build message codes for the given error code and field specification. 
 | 
String[] resolveMessageCodes(String errorCode, String objectName)
errorCode - the error code used for rejecting the objectobjectName - the name of the objectString[] resolveMessageCodes(String errorCode, String objectName, String field, Class<?> fieldType)
errorCode - the error code used for rejecting the valueobjectName - the name of the objectfield - the field namefieldType - the field type (may be null if not determinable)