javax.faces.application
Class FacesMessage
java.lang.Object
   javax.faces.application.FacesMessage
javax.faces.application.FacesMessage
- All Implemented Interfaces: 
- Serializable
- public class FacesMessage 
- extends Object- implements Serializable
Represents a message to be displayed to the JSF application user.
 
 Instances of this type are registered via FacesContext.addMessage, and are kept only until
 the end of the render phase. The standard h:message or h:messages components can render
 these message objects.
 
 See the javadoc for this class in the
 JSF Specification
 for more details.
- Version:
- $Revision: 1124395 $ $Date: 2011-05-18 14:37:27 -0500 (Wed, 18 May 2011) $
- Author:
- Manfred Geiler (latest modification by $Author: jakobk $)
- See Also:
- Serialized Form
 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
FACES_MESSAGES
public static final String FACES_MESSAGES
- See Also:
- Constant Field Values
SEVERITY_INFO
public static final FacesMessage.Severity SEVERITY_INFO
SEVERITY_WARN
public static final FacesMessage.Severity SEVERITY_WARN
SEVERITY_ERROR
public static final FacesMessage.Severity SEVERITY_ERROR
SEVERITY_FATAL
public static final FacesMessage.Severity SEVERITY_FATAL
VALUES
public static final List VALUES
VALUES_MAP
public static final Map VALUES_MAP
FacesMessage
public FacesMessage()
FacesMessage
public FacesMessage(String summary)
FacesMessage
public FacesMessage(String summary,
                    String detail)
FacesMessage
public FacesMessage(FacesMessage.Severity severity,
                    String summary,
                    String detail)
getSeverity
public FacesMessage.Severity getSeverity()
- 
 
- 
 
setSeverity
public void setSeverity(FacesMessage.Severity severity)
- 
 
- 
 
getSummary
public String getSummary()
- 
 
- 
 
setSummary
public void setSummary(String summary)
- 
 
- 
 
getDetail
public String getDetail()
- 
 
- 
 
setDetail
public void setDetail(String detail)
- 
 
- 
 
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.