Home | Trees | Index | Help |
|
---|
|
Stanza
--+
|
Iq
MucIq
Method Summary | |
---|---|
Initialize an Iq object. | |
Iq |
Create a deep copy of the iq stanza. |
libxml2.xmlNode |
Get the payload element of the stanza. |
str |
Get a namespace of the stanza payload. |
Iq |
Create error response for the a "get" or "set" iq stanza. |
Iq |
Create result response for the a "get" or "set" iq stanza. |
libxml2.xmlNode |
Create new payload element for the 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. |
pyxmpp.error.StanzaErrorNode |
_error : pyxmpp.error.StanzaErrorNode describing the error associated with
the stanza of type "error". |
Class Variable Summary | |
---|---|
str |
stanza_type = 'iq'
|
Method Details |
---|
__init__(self,
xmlnode=None,
from_jid=None,
to_jid=None,
stanza_type=None,
stanza_id=None,
error=None,
error_cond=None)
Initialize an |
copy(self)Create a deep copy of the iq stanza.
|
get_query(self)Get the payload element of the stanza.
|
get_query_ns(self)Get a namespace of the stanza payload.
|
make_error_response(self, cond)Create error response for the a "get" or "set" iq stanza. |
make_result_response(self)Create result response for the a "get" or "set" iq stanza. |
new_query(self, ns_uri, name='query')Create new payload element for the stanza.
|
Class Variable Details |
---|
stanza_type
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Mon Dec 26 17:57:27 2005 | http://epydoc.sf.net |