Home | Trees | Index | Help |
|
---|
|
Stanza
--+
|
Message
Method Summary | |
---|---|
Initialize a Message object. | |
Message |
Create a deep copy of the message stanza. |
unicode |
Get the body of the message. |
unicode |
Get the message subject. |
unicode |
Get the thread-id subject. |
unicode |
Create error response for any non-error message stanza. |
Inherited from Stanza | |
| |
| |
| |
Add an XML node to the stanza's payload. | |
Add a new XML element to the stanza payload. | |
Free the node associated with this Stanza object. | |
pyxmpp.error.StanzaErrorNode |
Get stanza error information. |
unicode |
Get "from" attribute of the stanza. |
unicode |
Get "from" attribute of the stanza. |
unicode |
Get "id" attribute of the stanza. |
libxml2.xmlNode |
Return the XML node wrapped into self . |
unicode |
Get "id" attribute of the stanza. |
unicode |
Get "type" attribute of the stanza. |
unicode |
Get "to" attribute of the stanza. |
unicode |
Get "to" attribute of the stanza. |
unicode |
Get "type" attribute of the stanza. |
str |
Serialize the stanza into an UTF-8 encoded XML string. |
Set stanza content to an XML node. | |
Set "from" attribute of the stanza. | |
Set "id" attribute of the stanza. | |
Set stanza payload to a new XML element. | |
Set "to" attribute of the stanza. | |
Set "type" attribute of the stanza. | |
Evaluate an XPath expression on the stanza XML node. |
Instance Variable Summary | |
---|---|
Inherited from Stanza | |
libxml2.xmlNode |
xmlnode : stanza XML node. |
Class Variable Summary | |
---|---|
str |
stanza_type = 'message'
|
Method Details |
---|
__init__(self,
xmlnode=None,
from_jid=None,
to_jid=None,
stanza_type=None,
stanza_id=None,
subject=None,
body=None,
thread=None,
error=None,
error_cond=None)
Initialize a |
copy(self)Create a deep copy of the message stanza.
|
get_body(self)Get the body of the message.
|
get_subject(self)Get the message subject.
|
get_thread(self)Get the thread-id subject.
|
make_error_response(self, cond)Create error response for any non-error message stanza.
|
Class Variable Details |
---|
stanza_type
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Mon Dec 26 17:57:45 2005 | http://epydoc.sf.net |