core.types
Class PresenceType
java.lang.Object
core.types.PresenceType
- public final class PresenceType
- extends java.lang.Object
- Author:
- hoela
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ord
public final int ord
UNAVAILABLE
public static final PresenceType UNAVAILABLE
AVAILABLE
public static final PresenceType AVAILABLE
SUBSCRIBE
public static final PresenceType SUBSCRIBE
SUBSCRIBED
public static final PresenceType SUBSCRIBED
UNSUBSCRIBE
public static final PresenceType UNSUBSCRIBE
UNSUBSCRIBED
public static final PresenceType UNSUBSCRIBED
PROBE
public static final PresenceType PROBE
ERROR
public static final PresenceType ERROR
elements
public static java.util.Enumeration elements()
- Creates an enumeration from all available types.
- Returns:
- the Enumeration
toString
public java.lang.String toString()
- Returns:
- String representation of this type
size
public static int size()
- Returns:
- Number of types available
first
public static PresenceType first()
- Returns:
- first element of an Enumeration of PresenceTypes
last
public static PresenceType last()
- Returns:
- last element of an Enumeration of PresenceTypes
prev
public PresenceType prev()
- Returns:
- previous element of an Enumeration of PresenceTypes
next
public PresenceType next()
- Returns:
- next element of an Enumeration of PresenceTypes