tigase.xmpp.impl
Enum Roster.PresenceType
java.lang.Object
java.lang.Enum<Roster.PresenceType>
tigase.xmpp.impl.Roster.PresenceType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Roster.PresenceType>
- Enclosing class:
- Roster
public static enum Roster.PresenceType
- extends java.lang.Enum<Roster.PresenceType>
|
Method Summary |
static Roster.PresenceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Roster.PresenceType[] |
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 |
out_initial
public static final Roster.PresenceType out_initial
out_subscribe
public static final Roster.PresenceType out_subscribe
out_unsubscribe
public static final Roster.PresenceType out_unsubscribe
out_subscribed
public static final Roster.PresenceType out_subscribed
out_unsubscribed
public static final Roster.PresenceType out_unsubscribed
in_initial
public static final Roster.PresenceType in_initial
in_subscribe
public static final Roster.PresenceType in_subscribe
in_unsubscribe
public static final Roster.PresenceType in_unsubscribe
in_subscribed
public static final Roster.PresenceType in_subscribed
in_unsubscribed
public static final Roster.PresenceType in_unsubscribed
in_probe
public static final Roster.PresenceType in_probe
error
public static final Roster.PresenceType error
values
public static Roster.PresenceType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Roster.PresenceType c : Roster.PresenceType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Roster.PresenceType valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
Copyright © 2008 Tigase. All Rights Reserved.