public enum ChatState extends Enum<ChatState>
Enum Constant and Description |
---|
active |
composing |
gone |
inactive |
paused |
Modifier and Type | Method and Description |
---|---|
static ChatState |
fromElement(Element elem) |
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 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 static ChatState fromElement(Element elem) throws XMLException
XMLException
public Element toElement() throws XMLException
XMLException
Copyright © 2006–2023 Tigase. All rights reserved.