Smack

org.jivesoftware.smackx.pubsub.util
Class NodeUtils

java.lang.Object
  extended by org.jivesoftware.smackx.pubsub.util.NodeUtils

public class NodeUtils
extends Object

Utility for extracting information from packets.

Author:
Robin Collier

Constructor Summary
NodeUtils()
           
 
Method Summary
static ConfigureForm getFormFromPacket(Packet packet, PubSubElementType elem)
          Get a ConfigureForm from a packet.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeUtils

public NodeUtils()
Method Detail

getFormFromPacket

public static ConfigureForm getFormFromPacket(Packet packet,
                                              PubSubElementType elem)
Get a ConfigureForm from a packet.

Parameters:
packet -
elem -
Returns:
The configuration form

Smack

Copyright © 2003-2007 Jive Software.