|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.application.MessageImpl
MessageImpl is a concrete class that implements
Message, and is a convenient base class for other
Message implementations.
| Field Summary |
| Fields inherited from interface javax.faces.application.Message |
SEVERITY_ERROR, SEVERITY_FATAL, SEVERITY_INFO, SEVERITY_WARN |
| Constructor Summary | |
MessageImpl()
Construct a new Message with no initial values. |
|
MessageImpl(int severity,
java.lang.String summary,
java.lang.String detail)
Construct a new Message with the specified initial values. |
|
| Method Summary | |
java.lang.String |
getDetail()
Return the localized detail text for this Message
(if any). |
int |
getSeverity()
Return the severity level of this Message. |
java.lang.String |
getSummary()
Return the localized summary text for this Message. |
void |
setDetail(java.lang.String detail)
Set the localized detail text. |
void |
setSeverity(int severity)
Set the severity level. |
void |
setSummary(java.lang.String summary)
Set the localized summary text. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MessageImpl()
Construct a new Message with no initial values.
public MessageImpl(int severity,
java.lang.String summary,
java.lang.String detail)
Construct a new Message with the specified initial values.
severity - Severity level of this Messagesummary - Localized summary message textdetail - Localized detail message text
java.lang.IllegalArgumentException - if the specified severity level
is not one of the supported values| Method Detail |
public java.lang.String getDetail()
MessageReturn the localized detail text for this Message
(if any). This should be additional text that can help the user
understand the context of the problem, and offer suggestions for
approaches to correcting it.
getDetail in interface Messagepublic void setDetail(java.lang.String detail)
Set the localized detail text.
detail - The new localized detail textpublic int getSeverity()
MessageReturn the severity level of this Message.
getSeverity in interface Messagepublic void setSeverity(int severity)
Set the severity level.
severity - The new severity level
java.lang.IllegalArgumentException - if the specified severity level
is not one of the supported valuespublic java.lang.String getSummary()
MessageReturn the localized summary text for this Message.
This should be the text that would normally be displayed to a user
to identify the problem that needs to be corrected.
getSummary in interface Messagepublic void setSummary(java.lang.String summary)
Set the localized summary text.
summary - The new localized summary text
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||