Package org.jivesoftware.smackx.pubsub
Enum EventElementType
- All Implemented Interfaces:
Serializable
,Comparable<EventElementType>
This enumeration defines the possible event types that are supported within PubSub
event messages.
-
Enum Constant Summary
Enum ConstantDescriptionA node has been associated or disassociated with a collection node.A node has had its configuration changed.A node has been deleted.Items have been published to a node.All items have been purged from a node.A node has been subscribed to. -
Method Summary
Modifier and TypeMethodDescriptionstatic EventElementType
Returns the enum constant of this type with the specified name.static EventElementType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
collection
A node has been associated or disassociated with a collection node. -
configuration
A node has had its configuration changed. -
delete
A node has been deleted. -
items
Items have been published to a node. -
purge
All items have been purged from a node. -
subscription
A node has been subscribed to.
-
-
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
-