|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.realtime.xmpp.types.PresenceShow
Provide standard definitions for the presence show field.
Field Summary | |
static PresenceShow |
AWAY
|
static PresenceShow |
CHAT
|
static PresenceShow |
DND
|
protected java.lang.String |
m_sShow
The standard show code. |
static PresenceShow |
XA
|
Constructor Summary | |
protected |
PresenceShow(java.lang.String sShow)
Create a presence show based on one of the well known field values, such as dnd,xa,away,or chat. |
Method Summary | |
boolean |
equals(java.lang.Object show)
Determine if two codes are equal. |
java.lang.String |
toString()
Provide the standardized show code. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.lang.String m_sShow
public static final PresenceShow AWAY
public static final PresenceShow CHAT
public static final PresenceShow XA
public static final PresenceShow DND
Constructor Detail |
protected PresenceShow(java.lang.String sShow)
Create a presence show based on one of the well known field values, such as dnd,xa,away,or chat.
sShow
- The value for the show element.Method Detail |
public java.lang.String toString()
Provide the standardized show code.
toString
in class java.lang.Object
public boolean equals(java.lang.Object show)
Determine if two codes are equal.
equals
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |