| java.lang.Object org.apache.turbine.util.FormMessage
FormMessage | public class FormMessage (Code) | | A message class for holding information about a message that
relates to a specific form and field. Used together with
FormMessages class.
author: Neeme Praks version: $Id: FormMessage.java 534527 2007-05-02 16:10:59Z tv $ |
FormMessage | public FormMessage()(Code) | | Constructor.
|
FormMessage | public FormMessage(String formName)(Code) | | Constructor.
Parameters: formName - A String with the form name. |
FormMessage | public FormMessage(String formName, String fieldName)(Code) | | Constructor.
Parameters: formName - A String with the form name. Parameters: fieldName - A String with the field name. |
FormMessage | public FormMessage(String formName, String fieldName, String message)(Code) | | Constructor.
Parameters: formName - A String with the form name. Parameters: fieldName - A String with the field name. Parameters: message - A String with the message. |
getFieldNames | public String[] getFieldNames()(Code) | | Return the field names.
A String[] with the field names. |
getFormName | public String getFormName()(Code) | | Return the form name.
A String with the form name. |
getMessage | public String getMessage()(Code) | | Return the message.
A String with the message. |
setFieldName | public void setFieldName(String fieldName)(Code) | | Adds one field name.
Parameters: fieldName - A String with the field name. |
setFormName | public void setFormName(String formName)(Code) | | Set the form name.
Parameters: formName - A String with the form name. |
setMessage | public void setMessage(String message)(Code) | | Set the message.
Parameters: message - A String with the message. |
toString | public String toString()(Code) | | Write out the contents of the message in a friendly manner.
|
|
|