org.jabber.jabberbeans.Extension
Class XAutoUpdate

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

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.

See Also:
Serialized Form

Constructor Summary
XAutoUpdate(java.lang.String addr)
           
 
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()
           
 
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

XAutoUpdate

public XAutoUpdate(java.lang.String addr)
Method Detail

getAddress

public java.lang.String getAddress()

appendItem

public void appendItem(java.lang.StringBuffer retval)
Description copied from class: XMLData
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