org.springframework.binding.form.support
Interface MessageCodeStrategy
- All Known Implementing Classes:
- DefaultMessageCodeStrategy
public interface MessageCodeStrategy
MessageKeyStrategy is used by MessageSourceFieldFaceSource to create the codes for resolving messages.
- Author:
- Mathias Broekelmann
getMessageCodes
String[] getMessageCodes(String contextId,
String field,
String[] suffixes)
- Creates message codes.
- Parameters:
contextId - optional contextId of the field.field - the field. The field namesuffixes - optional array of suffixes.
- Returns:
- an array of message codes
Copyright © 2004-2009 The Spring Framework. All Rights Reserved.