net.sourceforge.stripes.action
Interface Message

All Superinterfaces:
Serializable
All Known Subinterfaces:
ValidationError
All Known Implementing Classes:
LocalizableError, LocalizableMessage, ScopedLocalizableError, SimpleError, SimpleMessage

public interface Message
extends Serializable

Represents a message that can be displayed to the user. Encapsulates commonalities between error messages produced as part of validation and other types of user messages such as warnings or feedback messages.

Author:
Tim Fennell

Method Summary
 String getMessage(Locale locale)
          Provides a message that can be displayed to the user.
 

Method Detail

getMessage

String getMessage(Locale locale)
Provides a message that can be displayed to the user. The message must be a String, and should be in the language and locale appropriate for the user.

Parameters:
locale - the Locale picked for the current interaction with the user
Returns:
String the String message that will be displayed to the user


? Copyright 2005-2006, Stripes Development Team.