org.jabber.jabberbeans.Extension
Class IQAutoUpdate

java.lang.Object
  |
  +--org.jabber.jabberbeans.XMLData
        |
        +--org.jabber.jabberbeans.Extension.IQAutoUpdate

public class IQAutoUpdate
extends XMLData
implements QueryExtension

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

Version:
$Revision: 1.1.1.1 $
Author:
David Waite <dwaite@jabber.com>, $Author: lucky $
See Also:
Serialized Form

Field Summary
private  java.util.Vector info
          list of UpdateInfo objects associated with this extension.
 
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, registerNatives, wait, wait, wait
 

Field Detail

info

private java.util.Vector info
list of UpdateInfo objects associated with this extension. Each UpdateInfo represents a different software version available.
See Also:
UpdateInfo
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.
Overrides:
appendItem in class XMLData
Parameters:
retval - The StringBuffer to append to