public class Bind extends IQ
For more information refer to the following link.
| Modifier and Type | Class and Description |
|---|---|
static class |
Bind.Feature |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ELEMENT |
static java.lang.String |
NAMESPACE |
QUERY_ELEMENTDEFAULT_LANGUAGE, ITEM, TEXT| Constructor and Description |
|---|
Bind(java.lang.String resource,
java.lang.String jid) |
| Modifier and Type | Method and Description |
|---|---|
XmlStringBuilder |
getChildElementXML()
Returns the sub-element XML section of the IQ packet, or null if there
isn't one.
|
java.lang.String |
getJid() |
java.lang.String |
getResource() |
static Bind |
newResult(java.lang.String jid) |
static Bind |
newSet(java.lang.String resource) |
createErrorResponse, createResultIQ, getType, setType, toXMLaddCommonAttributes, addExtension, addExtensions, equals, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensionsXML, getFrom, getPacketID, getTo, hashCode, removeExtension, setError, setFrom, setPacketID, setTo, toStringpublic static final java.lang.String ELEMENT
public static final java.lang.String NAMESPACE
public java.lang.String getResource()
public java.lang.String getJid()
public static Bind newSet(java.lang.String resource)
public static Bind newResult(java.lang.String jid)
public XmlStringBuilder getChildElementXML()
IQExtensions of this class must override this method.
getChildElementXML in class IQ