Class ClientMessage
- java.lang.Object
-
- rocks.xmpp.core.stanza.model.Stanza
-
- rocks.xmpp.core.stanza.model.ExtensibleStanza
-
- rocks.xmpp.core.stanza.model.Message
-
- rocks.xmpp.core.stanza.model.client.ClientMessage
-
- All Implemented Interfaces:
LanguageElement
,StreamElement
public final class ClientMessage extends Message
The implementation of the<message/>
element in thejabber:client
namespace.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class rocks.xmpp.core.stanza.model.Message
Message.Type
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ClientMessage
from(Message m)
Creates a message for thejabber:client
namespace from a generic message.-
Methods inherited from class rocks.xmpp.core.stanza.model.Message
createError, createError, getBodies, getBody, getParentThread, getSubject, getSubjects, getThread, getType, isNormal, setBody, setParentThread, setSubject, setThread, 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 ClientMessage from(Message m)
Creates a message for thejabber:client
namespace from a generic message.- Parameters:
m
- The message.- Returns:
- The client message.
-
-