|
Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<RosterPacket.ItemType>
org.jivesoftware.smack.packet.RosterPacket.ItemType
public static enum RosterPacket.ItemType
| Enum Constant Summary | |
|---|---|
both
The user and subscriber have a mutual interest in each other's presence. |
|
from
The subscriber is interested in receiving presence updates from the user. |
|
none
The user and subscriber have no interest in each other's presence. |
|
remove
The user wishes to stop receiving presence updates from the subscriber. |
|
to
The user is interested in receiving presence updates from the subscriber. |
|
| Method Summary | |
|---|---|
static RosterPacket.ItemType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static RosterPacket.ItemType[] |
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 |
| Enum Constant Detail |
|---|
public static final RosterPacket.ItemType none
public static final RosterPacket.ItemType to
public static final RosterPacket.ItemType from
public static final RosterPacket.ItemType both
public static final RosterPacket.ItemType remove
| Method Detail |
|---|
public static RosterPacket.ItemType[] values()
for (RosterPacket.ItemType c : RosterPacket.ItemType.values()) System.out.println(c);
public static RosterPacket.ItemType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||