core.types
Class MessageType
java.lang.Object
core.types.MessageType
- public final class MessageType
- 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
MESSAGE
public static final MessageType MESSAGE
PRESENCE
public static final MessageType PRESENCE
ERROR
public static final MessageType ERROR
ADDBUDDY
public static final MessageType ADDBUDDY
SEARCH
public static final MessageType SEARCH
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 MessageType first()
- Returns:
- first element of an Enumeration of MessageTypes
last
public static MessageType last()
- Returns:
- last element of an Enumeration of MessageTypes
prev
public MessageType prev()
- Returns:
- previous element of an Enumeration of MessageTypes
next
public MessageType next()
- Returns:
- next element of an Enumeration of MessageTypes