org.jabber.jabberbeans.Extension
Class IQAutoUpdateBuilder

java.lang.Object
  |
  +--org.jabber.jabberbeans.Extension.VectorExtensionBuilder
        |
        +--org.jabber.jabberbeans.Extension.IQAutoUpdateBuilder
All Implemented Interfaces:
ExtensionBuilder

public class IQAutoUpdateBuilder
extends VectorExtensionBuilder

An IQAutoUpdateBuilder is used to generate a jabber:iq:autoupdate object, a set of UpdateInfo objects which represent different available software versions.


Constructor Summary
IQAutoUpdateBuilder()
          Construct an IQAutoUpdateBuilder object, used to create IQAutoUpdate objects
 
Method Summary
 void addUpdateInfo(UpdateInfo entry)
          Add an UpdateInfo object to this builder
 Extension build()
          Build an IQAutoUpdate object based on the current state of the builder.
 void delUpdateInfo(UpdateInfo entry)
          Delete an UpdateInfo object from this builder
 
Methods inherited from class org.jabber.jabberbeans.Extension.VectorExtensionBuilder
getVector, reset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IQAutoUpdateBuilder

public IQAutoUpdateBuilder()
Construct an IQAutoUpdateBuilder object, used to create IQAutoUpdate objects

Method Detail

addUpdateInfo

public void addUpdateInfo(UpdateInfo entry)
Add an UpdateInfo object to this builder

Parameters:
entry - item to add

delUpdateInfo

public void delUpdateInfo(UpdateInfo entry)
Delete an UpdateInfo object from this builder

Parameters:
entry - item to remove

build

public Extension build()
Build an IQAutoUpdate object based on the current state of the builder.

Returns:
the new IQAutoUpdate Extension