|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.application.FacesMessage
org.apache.myfaces.trinidadinternal.ui.laf.base.desktop.MessageWrapper
@Deprecated public class MessageWrapper
A thin wrapper around a . This wrapper offers up the message along with the ID of the component, and a generic text.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.faces.application.FacesMessage |
|---|
javax.faces.application.FacesMessage.Severity |
| Field Summary |
|---|
| Fields inherited from class javax.faces.application.FacesMessage |
|---|
FACES_MESSAGES, SEVERITY_ERROR, SEVERITY_FATAL, SEVERITY_INFO, SEVERITY_WARN, VALUES, VALUES_MAP |
| Constructor Summary | |
|---|---|
MessageWrapper(javax.faces.application.FacesMessage message,
java.lang.String id)
Deprecated. Creates a wrapper |
|
| Method Summary | |
|---|---|
java.lang.Object |
getId()
Deprecated. Returns the ID of the component that queued this message. |
java.lang.String |
getLabel()
Deprecated. Returns the label of the component if it was saved with the message. |
java.lang.String |
getLabel(java.lang.String dflt)
Deprecated. Returns the label of the component if it was saved with the message. |
java.lang.String |
getText()
Deprecated. Returns a text string suitable for a description field. |
boolean |
hasLabel()
Deprecated. Returns true if there is a label attached to this message |
| Methods inherited from class javax.faces.application.FacesMessage |
|---|
getDetail, getSeverity, getSummary, isRendered, rendered, setDetail, setSeverity, setSummary |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MessageWrapper(javax.faces.application.FacesMessage message,
java.lang.String id)
message - The base .id - The ID of the component for which this message was queued.| Method Detail |
|---|
public java.lang.String getLabel()
public java.lang.String getLabel(java.lang.String dflt)
dflt - A default string to return of no label is foundpublic boolean hasLabel()
public java.lang.Object getId()
public java.lang.String getText()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||