public class Version extends org.jivesoftware.smack.packet.IQ implements VersionView
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ELEMENT |
static java.lang.String |
NAMESPACE |
| Modifier and Type | Method and Description |
|---|---|
static VersionBuilder |
builder(org.jivesoftware.smack.packet.IqData iqData) |
static VersionBuilder |
builder(Version versionRequest) |
static VersionBuilder |
builder(org.jivesoftware.smack.XMPPConnection connection) |
protected org.jivesoftware.smack.packet.IQ.IQChildElementXmlStringBuilder |
getIQChildElementBuilder(org.jivesoftware.smack.packet.IQ.IQChildElementXmlStringBuilder xml) |
java.lang.String |
getName()
Returns the natural-language name of the software.
|
java.lang.String |
getOs()
Returns the operating system of the queried entity.
|
java.lang.String |
getVersion()
Returns the specific version of the software.
|
createErrorResponse, createErrorResponse, createErrorResponse, createResultIQ, getChildElementName, getChildElementNamespace, getChildElementQName, getChildElementXML, getElementName, getType, isRequestIQ, isResponseIQ, setType, toString, toXMLaddCommonAttributes, addExtension, addExtensions, appendErrorIfExists, getDefaultLanguage, getError, getExtension, getExtension, getExtension, getExtensionElement, getExtensions, getExtensions, getExtensions, getExtensions, getExtensionsMap, getFrom, getLanguage, getNamespace, getStanzaId, getTo, hasExtension, hasExtension, hasStanzaIdSet, logCommonAttributes, overrideExtension, removeExtension, removeExtension, setError, setError, setFrom, setLanguage, setNewStanzaId, setStanzaId, setStanzaId, setTo, throwIfNoStanzaIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final java.lang.String ELEMENT
public static final java.lang.String NAMESPACE
public java.lang.String getName()
getName in interface VersionViewpublic java.lang.String getVersion()
getVersion in interface VersionViewpublic java.lang.String getOs()
getOs in interface VersionViewprotected org.jivesoftware.smack.packet.IQ.IQChildElementXmlStringBuilder getIQChildElementBuilder(org.jivesoftware.smack.packet.IQ.IQChildElementXmlStringBuilder xml)
getIQChildElementBuilder in class org.jivesoftware.smack.packet.IQpublic static VersionBuilder builder(org.jivesoftware.smack.XMPPConnection connection)
public static VersionBuilder builder(org.jivesoftware.smack.packet.IqData iqData)
public static VersionBuilder builder(Version versionRequest)