|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jabber.jabberbeans.XMLData | +--org.jabber.jabberbeans.Extension.IQVersion
An IQVersion
Extension object is used to query for the
version of a remote client. Provided is the name and version of the used
software, as well as the OS which the software is executing.
Constructor Summary | |
IQVersion(IQVersionBuilder builder)
build an IQVersion object based on an IQVersionBuilder object |
Method Summary | |
void |
appendItem(java.lang.StringBuffer retval)
appendItem converts this packet to XML, either an
<agent> block in a jabber:iq:agents extension, or its own
jabber:iq:agent extension. |
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 a version string for the client software. |
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 |
public IQVersion(IQVersionBuilder builder)
builder
- IQVersionBuilder from which this object will be basedMethod Detail |
public java.lang.String getName()
String
holding the name of the client softwarepublic java.lang.String getVersion()
String
holding a representation of the client
software versionpublic java.lang.String getOS()
String
holding the OS value for the client
softwarepublic void appendItem(java.lang.StringBuffer retval)
appendItem
converts this packet to XML, either an
<agent> block in a jabber:iq:agents extension, or its own
jabber:iq:agent extension. It then appends it to a StringBuffer.
appendItem
in interface Extension
appendItem
in class XMLData
retval
- The StringBuffer
to append to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |