org.apache.pluto.portlet.admin.bean
Class PortletMessage

java.lang.Object
  extended by org.apache.pluto.portlet.admin.bean.PortletMessage

public class PortletMessage
extends java.lang.Object

Encapsulates a simple String message to be displayed in a JSP usually using the MessageTag tag library.

Author:
Craig Doremus
See Also:
MessageTag

Constructor Summary
PortletMessage(java.lang.String message, PortletMessageType type)
           
PortletMessage(java.lang.String message, java.lang.String type)
           
 
Method Summary
 java.lang.String getMessage()
           
 PortletMessageType getType()
           
 void setMessage(java.lang.String message)
           
 void setType(PortletMessageType type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletMessage

public PortletMessage(java.lang.String message,
                      java.lang.String type)

PortletMessage

public PortletMessage(java.lang.String message,
                      PortletMessageType type)
Method Detail

getMessage

public java.lang.String getMessage()
Returns:
Returns the message.

setMessage

public void setMessage(java.lang.String message)
Parameters:
message - The message to set.

getType

public PortletMessageType getType()
Returns:
Returns the type.

setType

public void setType(PortletMessageType type)
Parameters:
type - The type to set.


Copyright © 2003-2011 . All Rights Reserved.