| Modifier and Type | Class and Description |
|---|---|
static class |
Presence.Show
Availability sub-state
|
Stanza.UnkownStanzaTypeException| Modifier and Type | Method and Description |
|---|---|
static Presence |
create()
Creates new instance of stanza.
|
String |
getNickname()
Returns nickname.
|
Integer |
getPriority()
Returns priority level of resource.
|
Presence.Show |
getShow()
Return avaiability substate.
|
String |
getStatus()
Returns natural-language description of an entity's availability.
|
void |
setNickname(String nickname)
Sets nickname.
|
void |
setPriority(Integer value)
Sets priority level of resource.
|
void |
setShow(Presence.Show show)
Sets avaiability sub-state.
|
void |
setStatus(String status)
Sets natural-language description of an entity's availability.
|
canBeConverted, create, createIQ, createMessage, createPresence, getErrorCondition, getFrom, getId, getTo, getType, getType, setFrom, setId, setTo, setTypegetXmppStream, setXmppStreamaddChild, equals, findChild, getAsString, getAttribute, getAttributes, getChildAfter, getChildElementValue, getChildElementValue, getChildren, getChildren, getChildrenNS, getChildrenNS, getFirstChild, getFirstChild, getName, getNextSibling, getParent, getValue, getWrappedElement, getXMLNS, hashCode, removeAttribute, removeChild, setAttribute, setAttributes, setChildElementValue, setChildElementValue, setParent, setValue, setXMLNSpublic static Presence create() throws JaxmppException
JaxmppExceptionpublic String getNickname() throws XMLException
null if not present.XMLExceptionpublic Integer getPriority() throws XMLException
XMLExceptionpublic Presence.Show getShow() throws XMLException
XMLExceptionpublic String getStatus() throws XMLException
XMLExceptionpublic void setNickname(String nickname) throws XMLException
nickname - nicknameXMLExceptionpublic void setPriority(Integer value) throws XMLException
value - XMLExceptionpublic void setShow(Presence.Show show) throws XMLException
show - Presence.ShowXMLExceptionpublic void setStatus(String status) throws XMLException
status - descriptionXMLExceptionCopyright © 2006–2016 Tigase. All rights reserved.