Package org.jivesoftware.smackx.pubsub
Class ConfigurationEvent
- java.lang.Object
-
- org.jivesoftware.smackx.pubsub.NodeExtension
-
- org.jivesoftware.smackx.pubsub.ConfigurationEvent
-
- All Implemented Interfaces:
Element
,ExtensionElement
,FullyQualifiedElement
,NamedElement
,XmlLangElement
,EmbeddedPacketExtension
public class ConfigurationEvent extends NodeExtension implements EmbeddedPacketExtension
Represents the configuration element of a PubSub message event which associates a configuration form to the node which was configured. The form contains the current node configuration.
-
-
Constructor Summary
Constructors Constructor Description ConfigurationEvent(String nodeId)
ConfigurationEvent(String nodeId, FilledConfigureForm configForm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FilledConfigureForm
getConfiguration()
List<ExtensionElement>
getExtensions()
Get the list of embeddedExtensionElement
objects.-
Methods inherited from class org.jivesoftware.smackx.pubsub.NodeExtension
addXml, getElementName, getNamespace, getNode, getPubSubNamespace, toString, toXML
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.jivesoftware.smack.packet.FullyQualifiedElement
getLanguage, getNamespace, getQName
-
Methods inherited from interface org.jivesoftware.smack.packet.NamedElement
getElementName
-
-
-
-
Constructor Detail
-
ConfigurationEvent
public ConfigurationEvent(String nodeId)
-
ConfigurationEvent
public ConfigurationEvent(String nodeId, FilledConfigureForm configForm)
-
-
Method Detail
-
getConfiguration
public FilledConfigureForm getConfiguration()
-
getExtensions
public List<ExtensionElement> getExtensions()
Description copied from interface:EmbeddedPacketExtension
Get the list of embeddedExtensionElement
objects.- Specified by:
getExtensions
in interfaceEmbeddedPacketExtension
- Returns:
- List of embedded
ExtensionElement
-
-