|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jabber.jabberbeans.Extension.IQVersionBuilder
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 |
public IQVersionBuilder()
Method Detail |
public void reset()
reset
in interface ExtensionBuilder
public java.lang.String getName()
String
holding name of the client software.public void setName(java.lang.String value)
value
- String
holding name of the client softwarepublic java.lang.String getVersion()
String
holding a representation of the version
of the client software.public void setVersion(java.lang.String value)
value
- String
holding a representation of the
version of the client software.public java.lang.String getOS()
String
holding the OS of the clientpublic void setOS(java.lang.String value)
value
- String
holding the OS of the clientpublic Extension build()
IQVersion Extension
based on the current builder
state.
build
in interface ExtensionBuilder
IQVersion Extension
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |