|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<AccessModel> org.jivesoftware.smackx.pubsub.AccessModel
public enum AccessModel
This enumeration represents the access models for the pubsub node as defined in the pubsub specification section 16.4.3
Enum Constant Summary | |
---|---|
authorize
Subscription request must be approved and only subscribers may retrieve items |
|
open
Anyone may subscribe and retrieve items |
|
presence
Anyone with a presence subscription of both or from may subscribe and retrieve items |
|
roster
Anyone in the specified roster group(s) may subscribe and retrieve items |
|
whitelist
Only those on a whitelist may subscribe and retrieve items |
Method Summary | |
---|---|
static AccessModel |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AccessModel[] |
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 AccessModel open
public static final AccessModel authorize
public static final AccessModel presence
public static final AccessModel roster
public static final AccessModel whitelist
Method Detail |
---|
public static AccessModel[] values()
for (AccessModel c : AccessModel.values()) System.out.println(c);
public static AccessModel 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 |