Class ClientPresence
- java.lang.Object
-
- rocks.xmpp.core.stanza.model.Stanza
-
- rocks.xmpp.core.stanza.model.ExtensibleStanza
-
- rocks.xmpp.core.stanza.model.Presence
-
- rocks.xmpp.core.stanza.model.client.ClientPresence
-
- All Implemented Interfaces:
Comparable<Presence>
,LanguageElement
,StreamElement
public final class ClientPresence extends Presence
The implementation of the<presence/>
element in thejabber:client
namespace.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class rocks.xmpp.core.stanza.model.Presence
Presence.Show, Presence.Type
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ClientPresence
from(Presence p)
Creates a presence for thejabber:client
namespace from a generic presence.-
Methods inherited from class rocks.xmpp.core.stanza.model.Presence
compareTo, createError, createError, equals, getPriority, getShow, getStatus, getStatuses, getType, hashCode, isAvailable, isSubscription, setPriority, setShow, setStatus, setType, toString
-
Methods inherited from class rocks.xmpp.core.stanza.model.ExtensibleStanza
addExtension, addExtensions, addExtensions, getExtensions, getExtensions, putExtension, removeExtension
-
Methods inherited from class rocks.xmpp.core.stanza.model.Stanza
getError, getExtension, getFrom, getId, getLanguage, getTo, hasExtension, isToItselfOrServer, setError, setFrom, setId, setLanguage, setTo
-
-
-
-
Method Detail
-
from
public static ClientPresence from(Presence p)
Creates a presence for thejabber:client
namespace from a generic presence.- Parameters:
p
- The presence.- Returns:
- The client presence.
-
-