Package org.jivesoftware.smackx.pubsub
Enum PubSubFeature
- All Implemented Interfaces:
Serializable
,CharSequence
,Comparable<PubSubFeature>
The features a PubSub service may provides. Some are optional or recommended, while others are required.
- See Also:
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionchar
charAt
(int index) int
length()
subSequence
(int start, int end) support()
toString()
static PubSubFeature
Returns the enum constant of this type with the specified name.static PubSubFeature[]
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, valueOf
Methods inherited from interface java.lang.CharSequence
chars, codePoints
-
Enum Constant Details
-
access_authorize
-
access_open
-
access_presence
-
access_roster
-
access_whitelist
-
auto_create
-
auto_subscribe
-
collections
-
config_node
-
create_and_configure
-
create_nodes
-
delete_items
-
delete_nodes
-
get_pending
-
item_ids
-
last_published
-
leased_subscription
-
manage_subscriptions
-
member_affiliation
-
meta_data
-
modify_affiliations
-
multi_collection
-
multi_subscribe
-
outcast_affiliation
-
persistent_items
-
presence_notifications
-
presence_subscribe
-
publish
-
publish_options
-
publish_only_affiliation
-
publisher_affiliation
-
purge_nodes
-
retract_items
-
retrieve_affiliations
-
retrieve_default
-
retrieve_default_sub
-
retrieve_items
-
retrieve_subscriptions
-
subscribe
-
subscription_options
-
subscriptions_notifications
-
instant_nodes
-
filtered_notifications
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getFeatureName
-
toString
- Specified by:
toString
in interfaceCharSequence
- Overrides:
toString
in classEnum<PubSubFeature>
-
support
-
length
- Specified by:
length
in interfaceCharSequence
-
charAt
- Specified by:
charAt
in interfaceCharSequence
-
subSequence
- Specified by:
subSequence
in interfaceCharSequence
-