Smack

org.jivesoftware.smackx.pubsub
Class ConfigurationEvent

java.lang.Object
  extended by org.jivesoftware.smackx.pubsub.NodeExtension
      extended by org.jivesoftware.smackx.pubsub.ConfigurationEvent
All Implemented Interfaces:
PacketExtension, 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.

Author:
Robin Collier

Constructor Summary
ConfigurationEvent(String nodeId)
           
ConfigurationEvent(String nodeId, ConfigureForm configForm)
           
 
Method Summary
 ConfigureForm getConfiguration()
           
 List<PacketExtension> getExtensions()
          Get the list of embedded PacketExtension objects.
 
Methods inherited from class org.jivesoftware.smackx.pubsub.NodeExtension
getElementName, getNamespace, getNode, 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.PacketExtension
getElementName, getNamespace, toXML
 

Constructor Detail

ConfigurationEvent

public ConfigurationEvent(String nodeId)

ConfigurationEvent

public ConfigurationEvent(String nodeId,
                          ConfigureForm configForm)
Method Detail

getConfiguration

public ConfigureForm getConfiguration()

getExtensions

public List<PacketExtension> getExtensions()
Description copied from interface: EmbeddedPacketExtension
Get the list of embedded PacketExtension objects.

Specified by:
getExtensions in interface EmbeddedPacketExtension
Returns:
List of embedded PacketExtension

Smack

Copyright © 2003-2007 Jive Software.