org.jabber.jabberbeans.Extension
Class UpdateInfo

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

public class UpdateInfo
extends XMLData

An UpdateInfo is used to relay information about a particular available update.

See Also:
Serialized Form

Constructor Summary
UpdateInfo(UpdateInfoBuilder builder)
          Creates an UpdateInfo object.
 
Method Summary
 void appendItem(java.lang.StringBuffer retval)
          appendItem appends the XML representation of the current packet data to the specified StringBuffer.
 java.lang.String getPriority()
          getPriority returns the priority of the update, whether it be an optional or mandatory upgrade from the previous version.
 java.lang.String getType()
          getType returns the type of this particular update, be it a release, a beta, or a developer's version.
 java.lang.String getURL()
          getURL returns the internet address of the software, either to be fetched automatically by the client, or manually by the user.
 java.lang.String getVersion()
          getVersion returns the version number of the newest release (at least, the newest release that the agent knows about)
 
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
 

Constructor Detail

UpdateInfo

public UpdateInfo(UpdateInfoBuilder builder)
Creates an UpdateInfo object.

Method Detail

getType

public java.lang.String getType()
getType returns the type of this particular update, be it a release, a beta, or a developer's version.

Returns:
String holding type value

getVersion

public java.lang.String getVersion()
getVersion returns the version number of the newest release (at least, the newest release that the agent knows about)

Returns:
String holding version text

getURL

public java.lang.String getURL()
getURL returns the internet address of the software, either to be fetched automatically by the client, or manually by the user.


getPriority

public java.lang.String getPriority()
getPriority returns the priority of the update, whether it be an optional or mandatory upgrade from the previous 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 class XMLData
Parameters:
retval - The StringBuffer to append to