public static class RosterPacket.ItemType
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static RosterPacket.ItemType |
BOTH
The user and subscriber have a mutual interest in each other's presence.
|
static RosterPacket.ItemType |
FROM
The subscriber is interested in receiving presence updates from the user.
|
static RosterPacket.ItemType |
NONE
The user and subscriber have no interest in each other's presence.
|
static RosterPacket.ItemType |
REMOVE
The user wishes to stop receiving presence updates from the subscriber.
|
static RosterPacket.ItemType |
TO
The user is interested in receiving presence updates from the subscriber.
|
Constructor and Description |
---|
RosterPacket.ItemType(java.lang.String value)
Returns the item type associated with the specified string.
|
Modifier and Type | Method and Description |
---|---|
static RosterPacket.ItemType |
fromString(java.lang.String value) |
java.lang.String |
toString() |
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
public RosterPacket.ItemType(java.lang.String value)
value
- the item type.public static RosterPacket.ItemType fromString(java.lang.String value)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2003 Jive Software.