| 
 | Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<PrivacyItem.Type>
org.jivesoftware.smack.packet.PrivacyItem.Type
public static enum PrivacyItem.Type
Type defines if the rule is based on JIDs, roster groups or presence subscription types.
| Enum Constant Summary | |
|---|---|
| groupJID being analyzed should belong to a roster group of the list's owner. | |
| jidJID being analyzed should have a resource match, domain match or bare JID match. | |
| subscriptionJID being analyzed should belong to a contact present in the owner's roster with the specified subscription status. | |
| Method Summary | |
|---|---|
| static PrivacyItem.Type | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static PrivacyItem.Type[] | 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 PrivacyItem.Type group
public static final PrivacyItem.Type jid
public static final PrivacyItem.Type subscription
| Method Detail | 
|---|
public static PrivacyItem.Type[] values()
for (PrivacyItem.Type c : PrivacyItem.Type.values()) System.out.println(c);
public static PrivacyItem.Type 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 | ||||||||