public enum ChatState extends Enum<ChatState>
| Enum Constant and Description |
|---|
active |
composing |
gone |
inactive |
paused |
| Modifier and Type | Field and Description |
|---|---|
static String |
CHAT_STATE_DISABLED_KEY |
static String |
XMLNS |
| Modifier and Type | Method and Description |
|---|---|
static ChatState |
fromElement(Element elem) |
static boolean |
isChatStateDisabled(SessionObject sessionObject) |
Element |
toElement() |
static ChatState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChatState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChatState active
public static final ChatState inactive
public static final ChatState gone
public static final ChatState composing
public static final ChatState paused
public static final String CHAT_STATE_DISABLED_KEY
public static String XMLNS
public static ChatState[] values()
for (ChatState c : ChatState.values()) System.out.println(c);
public static ChatState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic Element toElement() throws XMLException
XMLExceptionpublic static ChatState fromElement(Element elem) throws XMLException
XMLExceptionpublic static boolean isChatStateDisabled(SessionObject sessionObject)
Copyright © 2006–2014 Tigase. All rights reserved.