public class UserSearchIQ
extends org.jivesoftware.smack.packet.IQ
Constructor and Description |
---|
UserSearchIQ() |
Modifier and Type | Method and Description |
---|---|
void |
addField(java.lang.String field,
java.lang.String value)
Adds filter field to the IQ packet and value for the field.
|
org.jivesoftware.smackx.Form |
getAnswerForm()
Creates and returns answer form.
|
java.lang.String |
getChildElementXML() |
org.jivesoftware.smackx.ReportedData |
getData()
Returns the data property of the class.
|
java.util.Set<java.lang.String> |
getFields()
Returns the names of the fields that are not included in the data form.
|
void |
setData(org.jivesoftware.smackx.ReportedData data)
Sets the data property of the class.
|
void |
setForm(org.jivesoftware.smackx.packet.DataForm form)
Sets data form in the IQ packet.
|
createErrorResponse, createResultIQ, getType, setType, toXML
addExtension, deleteProperty, equals, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensionsXML, getFrom, getPacketID, getProperty, getPropertyNames, getTo, getXmlns, hashCode, nextID, removeExtension, setDefaultXmlns, setError, setFrom, setPacketID, setProperty, setTo
public java.lang.String getChildElementXML()
getChildElementXML
in class org.jivesoftware.smack.packet.IQ
public void setData(org.jivesoftware.smackx.ReportedData data)
data
- the data to be set.public org.jivesoftware.smackx.ReportedData getData()
public void addField(java.lang.String field, java.lang.String value)
field
- the field name.value
- the value of the field.public java.util.Set<java.lang.String> getFields()
public org.jivesoftware.smackx.Form getAnswerForm()
public void setForm(org.jivesoftware.smackx.packet.DataForm form)
form
- the form to be set.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.