Class EventElement

java.lang.Object
org.jivesoftware.smackx.pubsub.EventElement
All Implemented Interfaces:
Element, ExtensionElement, NamedElement, XmlElement, XmlLangElement, EmbeddedPacketExtension

Represents the top level element of a PubSub event extension. All types of PubSub events are represented by this class. The specific type can be found by getEventType(). The embedded event information, which is specific to the event type, can be retrieved by the getEvent() method.