public class IQ extends Stanza
| Modifier and Type | Class and Description |
|---|---|
static class |
IQ.IQType |
Stanza.StanzaError| Constructor and Description |
|---|
IQ(Element element) |
IQ(IQ.IQType type) |
IQ(String id,
IQ.IQType type) |
IQ(String id,
IQ.IQType type,
IQContent content) |
| Modifier and Type | Method and Description |
|---|---|
StringBuilder |
appendXml(StringBuilder sb)
Generate XML String out of the this entity, And append this string to
given
StringBuilder and return it. |
IQContent |
getContent() |
IQ.IQType |
getType() |
void |
prepareIqStartTag(StringBuilder sb) |
void |
setContent(IQContent content) |
void |
setType(IQ.IQType type) |
String |
xml()
Generate XML String out of the this entity.
|
getCreateTime, getError, getFrom, getId, getLang, getTo, getXmlns, isMessage, isStanza, setCreateTime, setError, setFrom, setId, setLang, setTo, setXmlnspublic IQ(IQ.IQType type)
public IQ.IQType getType()
public void setType(IQ.IQType type)
public IQContent getContent()
public void setContent(IQContent content)
public String xml()
XMLConvertiblepublic StringBuilder appendXml(StringBuilder sb)
XMLConvertibleStringBuilder and return it.appendXml in interface XMLConvertibleappendXml in class XMPPPacketsb - stringpublic void prepareIqStartTag(StringBuilder sb)
Copyright © 2019. All rights reserved.