|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<StanzaType>
tigase.jaxmpp.core.client.xmpp.stanzas.StanzaType
public enum StanzaType
| Enum Constant Summary | |
|---|---|
chat
|
|
error
The stanza reports an error that has occurred regarding processing or delivery of a get or set request. |
|
get
The stanza requests information, inquires about what data is needed in order to complete further operations, etc. |
|
groupchat
|
|
headline
|
|
normal
|
|
probe
|
|
result
The stanza is a response to a successful get or set request. |
|
set
The stanza provides data that is needed for an operation to be completed, sets new values, replaces existing values, etc. |
|
subscribe
|
|
subscribed
|
|
unavailable
|
|
unsubscribe
|
|
unsubscribed
|
|
| Method Summary | |
|---|---|
static StanzaType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static StanzaType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final StanzaType chat
public static final StanzaType error
public static final StanzaType get
public static final StanzaType groupchat
public static final StanzaType headline
public static final StanzaType normal
public static final StanzaType probe
public static final StanzaType result
public static final StanzaType set
public static final StanzaType subscribe
public static final StanzaType subscribed
public static final StanzaType unavailable
public static final StanzaType unsubscribe
public static final StanzaType unsubscribed
| Method Detail |
|---|
public static StanzaType[] values()
for (StanzaType c : StanzaType.values()) System.out.println(c);
public static StanzaType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||