org.jabber.jabberbeans.Extension
Class IQVersionBuilder

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

public class IQVersionBuilder
extends java.lang.Object
implements ExtensionBuilder

An IQVersionBuilder is used to generate a jabber:iq:version namespace object.


Constructor Summary
IQVersionBuilder()
          Construct a new IQVersionBuilder object
 
Method Summary
 Extension build()
          Build a IQVersion Extension based on the current builder state.
 java.lang.String getName()
          get the name of the client software
 java.lang.String getOS()
          get the OS string for the client software
 java.lang.String getVersion()
          get the version of the client software
 void reset()
          reset this object to a default state, for reuse
 void setName(java.lang.String value)
          Set the name of the client software
 void setOS(java.lang.String value)
          set the OS string for the client software
 void setVersion(java.lang.String value)
          set the version of the client software
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IQVersionBuilder

public IQVersionBuilder()
Construct a new IQVersionBuilder object

Method Detail

reset

public void reset()
reset this object to a default state, for reuse

Specified by:
reset in interface ExtensionBuilder

getName

public java.lang.String getName()
get the name of the client software

Returns:
String holding name of the client software.

setName

public void setName(java.lang.String value)
Set the name of the client software

Parameters:
value - String holding name of the client software

getVersion

public java.lang.String getVersion()
get the version of the client software

Returns:
String holding a representation of the version of the client software.

setVersion

public void setVersion(java.lang.String value)
set the version of the client software

Parameters:
value - String holding a representation of the version of the client software.

getOS

public java.lang.String getOS()
get the OS string for the client software

Returns:
String holding the OS of the client

setOS

public void setOS(java.lang.String value)
set the OS string for the client software

Parameters:
value - String holding the OS of the client

build

public Extension build()
Build a IQVersion Extension based on the current builder state.

Specified by:
build in interface ExtensionBuilder
Returns:
IQVersion Extension