|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<MessageType>
tigase.muc.xmpp.stanzas.MessageType
public enum MessageType
Types of Message stanza.
Created: 2005-01-27 19:49:29
| Enum Constant Summary | |
|---|---|
CHAT
The message is sent in the context of a one-to-one chat conversation. |
|
ERROR
An error has occurred related to a previous message sent by the sender (for details regarding stanza error syntax, refer to [XMPP‑CORE] (Saint-Andre, P., “Extensible Messaging and Presence Protocol (XMPP): Core,” October 2004.)). |
|
GROUPCHAT
The message is sent in the context of a multi-user chat environment (similar to that of [IRC] (Oikarinen, J. and D. |
|
HEADLINES
The message is probably generated by an automated service that delivers or broadcasts content (news, sports, market information, RSS feeds, etc.). |
|
NORMAL
The message is a single message that is sent outside the context of a one-to-one conversation or groupchat, and to which it is expected that the recipient will reply. |
|
| Method Summary | |
|---|---|
static MessageType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MessageType[] |
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 MessageType CHAT
public static final MessageType ERROR
public static final MessageType GROUPCHAT
public static final MessageType HEADLINES
public static final MessageType NORMAL
| Method Detail |
|---|
public static MessageType[] values()
for (MessageType c : MessageType.values()) System.out.println(c);
public static MessageType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||