public class Iq extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <any namespace='##other' minOccurs="0"/> <element ref="{jabber:component:accept}error" minOccurs="0"/> </sequence> <attribute name="from" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="to" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="type" use="required"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NCName"> <enumeration value="get"/> <enumeration value="set"/> <enumeration value="result"/> <enumeration value="error"/> </restriction> </simpleType> </attribute> <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected Object |
any |
protected Error |
error |
protected String |
from |
protected String |
id |
protected String |
lang |
protected String |
to |
protected String |
type |
Constructor and Description |
---|
Iq() |
Modifier and Type | Method and Description |
---|---|
Object |
getAny()
Gets the value of the any property.
|
Error |
getError()
Gets the value of the error property.
|
String |
getFrom()
Gets the value of the from property.
|
String |
getId()
Gets the value of the id property.
|
String |
getLang()
Gets the value of the lang property.
|
String |
getTo()
Gets the value of the to property.
|
String |
getType()
Gets the value of the type property.
|
void |
setAny(Object value)
Sets the value of the any property.
|
void |
setError(Error value)
Sets the value of the error property.
|
void |
setFrom(String value)
Sets the value of the from property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setLang(String value)
Sets the value of the lang property.
|
void |
setTo(String value)
Sets the value of the to property.
|
void |
setType(String value)
Sets the value of the type property.
|
protected Object any
protected Error error
protected String from
protected String id
protected String to
protected String type
protected String lang
public Object getAny()
Object
public void setAny(Object value)
value
- allowed object is
Object
public Error getError()
Error
public void setError(Error value)
value
- allowed object is
Error
public String getFrom()
String
public void setFrom(String value)
value
- allowed object is
String
public void setId(String value)
value
- allowed object is
String
public void setTo(String value)
value
- allowed object is
String
public String getType()
String
public void setType(String value)
value
- allowed object is
String
public String getLang()
String
Copyright © 2020. All rights reserved.