org.jabber.jabberbeans.Extension
Class IQAutoUpdate

java.lang.Object
  |
  +--org.jabber.jabberbeans.XMLData
        |
        +--org.jabber.jabberbeans.Extension.IQAutoUpdate
All Implemented Interfaces:
Extension, QueryExtension, java.io.Serializable

public class IQAutoUpdate
extends XMLData
implements QueryExtension

A IQAutoUpdate is used to relay additional information about an update available for a piece of software.

See Also:
Serialized Form

Constructor Summary
IQAutoUpdate(java.util.Vector info)
          Construct a new IQAutoUpdate object from a vector of UpdateInfo objects
 
Method Summary
 void appendItem(java.lang.StringBuffer retval)
          appendItem appends the XML representation of the current packet data to the specified StringBuffer.
 java.util.Enumeration versions()
          returns an enumeration of UpdateInfo objects contained within this Extension.
 
Methods inherited from class org.jabber.jabberbeans.XMLData
appendAttrib, appendAttrib, appendChild, appendChild, escapeString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jabber.jabberbeans.Extension.Extension
toString
 

Constructor Detail

IQAutoUpdate

public IQAutoUpdate(java.util.Vector info)
Construct a new IQAutoUpdate object from a vector of UpdateInfo objects

Parameters:
info - Vector of UpdateInfo objects.
Method Detail

versions

public java.util.Enumeration versions()
returns an enumeration of UpdateInfo objects contained within this Extension.

Returns:
UpdateInfo Enumeration, with each object representing a different software version.

appendItem

public void appendItem(java.lang.StringBuffer retval)
appendItem appends the XML representation of the current packet data to the specified StringBuffer.

Specified by:
appendItem in interface Extension
Specified by:
appendItem in class XMLData
Parameters:
retval - The StringBuffer to append to