org.jabber.jabberbeans.Extension
Class XAutoUpdate

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

public class XAutoUpdate
extends XMLData
implements MessageExtension

A XAutoUpdate is used to indicate to a client that there is a new version of some software. Passed is an address to be used to fetch more information via jabber:iq:autoupdate.

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

Field Summary
private  java.lang.String address
          String holding the JID of the update
 
Constructor Summary
XAutoUpdate(java.lang.String addr)
          Construct an XAutoUpdate object, based on a String
 
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 getAddress()
          get the address for additional information on an update
 
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

address

private java.lang.String address
String holding the JID of the update
Constructor Detail

XAutoUpdate

public XAutoUpdate(java.lang.String addr)
Construct an XAutoUpdate object, based on a String
Parameters:
addr - String holding the JID where additional update information can be found
Method Detail

getAddress

public java.lang.String getAddress()
get the address for additional information on an update
Returns:
String holding the JID where additional update information can be found

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