|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttigase.jaxmpp.core.client.xml.ElementWrapper
tigase.jaxmpp.core.client.xmpp.stanzas.Stanza
tigase.jaxmpp.core.client.xmpp.stanzas.Message
public class Message
Representation od Message stanza.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class tigase.jaxmpp.core.client.xmpp.stanzas.Stanza |
|---|
Stanza.UnkownStanzaTypeException |
| Constructor Summary | |
|---|---|
Message(Element element)
|
|
| Method Summary | |
|---|---|
static Message |
create()
|
String |
getBody()
Return message body. |
String |
getSubject()
Returns subject of message. |
String |
getThread()
Returns thread-id. |
StanzaType |
getType()
Returns type of stanza. |
void |
setBody(String body)
Sets body of message. |
void |
setSubject(String subject)
Sets subject of message. |
void |
setThread(String thread)
Sets thread-id of message. |
| Methods inherited from class tigase.jaxmpp.core.client.xmpp.stanzas.Stanza |
|---|
canBeConverted, create, getErrorCondition, getFrom, getId, getTo, getType, setFrom, setId, setTo, setType |
| Methods inherited from class tigase.jaxmpp.core.client.xml.ElementWrapper |
|---|
addChild, equals, getAsString, getAttribute, getAttributes, getChildAfter, getChildElementValue, getChildElementValue, getChildren, getChildren, getChildrenNS, getChildrenNS, getFirstChild, getFirstChild, getName, getNextSibling, getParent, getValue, getXMLNS, hashCode, removeAttribute, removeChild, setAttribute, setAttributes, setChildElementValue, setChildElementValue, setParent, setValue, setXMLNS |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Message(Element element)
throws XMLException
XMLException| Method Detail |
|---|
public static final Message create()
throws XMLException
XMLException
public String getBody()
throws XMLException
XMLException
public String getSubject()
throws XMLException
XMLException
public String getThread()
throws XMLException
XMLException
public StanzaType getType()
throws XMLException
getType in class Stanzanull if type not present.
XMLException
public void setBody(String body)
throws XMLException
body - body of message
XMLException
public void setSubject(String subject)
throws XMLException
subject - subject of message
XMLException
public void setThread(String thread)
throws XMLException
thread - thread-id
XMLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||