|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjabber.client.Presence
public class Presence
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>
<choice maxOccurs="unbounded" minOccurs="0">
<element ref="{jabber:client}show"/>
<element ref="{jabber:client}status"/>
<element ref="{jabber:client}priority"/>
</choice>
<any namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
<element ref="{jabber:client}error" minOccurs="0"/>
</sequence>
<attribute name="from" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
<attribute name="to" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="type">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}NCName">
<enumeration value="error"/>
<enumeration value="probe"/>
<enumeration value="subscribe"/>
<enumeration value="subscribed"/>
<enumeration value="unavailable"/>
<enumeration value="unsubscribe"/>
<enumeration value="unsubscribed"/>
</restriction>
</simpleType>
</attribute>
<attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/>
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected java.util.List<java.lang.Object> |
any
|
protected Error |
error
|
protected java.lang.String |
from
|
protected java.lang.String |
id
|
protected java.lang.String |
lang
|
protected java.util.List<java.lang.Object> |
showOrStatusOrPriority
|
protected java.lang.String |
to
|
protected java.lang.String |
type
|
| Constructor Summary | |
|---|---|
Presence()
|
|
| Method Summary | |
|---|---|
java.util.List<java.lang.Object> |
getAny()
Gets the value of the any property. |
Error |
getError()
Gets the value of the error property. |
java.lang.String |
getFrom()
Gets the value of the from property. |
java.lang.String |
getId()
Gets the value of the id property. |
java.lang.String |
getLang()
Gets the value of the lang property. |
java.util.List<java.lang.Object> |
getShowOrStatusOrPriority()
Gets the value of the showOrStatusOrPriority property. |
java.lang.String |
getTo()
Gets the value of the to property. |
java.lang.String |
getType()
Gets the value of the type property. |
void |
setError(Error value)
Sets the value of the error property. |
void |
setFrom(java.lang.String value)
Sets the value of the from property. |
void |
setId(java.lang.String value)
Sets the value of the id property. |
void |
setLang(java.lang.String value)
Sets the value of the lang property. |
void |
setTo(java.lang.String value)
Sets the value of the to property. |
void |
setType(java.lang.String value)
Sets the value of the type property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.List<java.lang.Object> showOrStatusOrPriority
protected java.util.List<java.lang.Object> any
protected Error error
protected java.lang.String from
protected java.lang.String id
protected java.lang.String to
protected java.lang.String type
protected java.lang.String lang
| Constructor Detail |
|---|
public Presence()
| Method Detail |
|---|
public java.util.List<java.lang.Object> getShowOrStatusOrPriority()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the showOrStatusOrPriority property.
For example, to add a new item, do as follows:
getShowOrStatusOrPriority().add(newItem);
Objects of the following type(s) are allowed in the list
JAXBElement<String>
Status
JAXBElement<Byte>
public java.util.List<java.lang.Object> getAny()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the any property.
For example, to add a new item, do as follows:
getAny().add(newItem);
Objects of the following type(s) are allowed in the list
Object
public Error getError()
Errorpublic void setError(Error value)
value - allowed object is
Errorpublic java.lang.String getFrom()
Stringpublic void setFrom(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getId()
Stringpublic void setId(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getTo()
Stringpublic void setTo(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getType()
Stringpublic void setType(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getLang()
Stringpublic void setLang(java.lang.String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||