Home | Trees | Index | Help |
|
---|
|
ErrorNode
--+
|
StanzaErrorNode
Method Summary | |
---|---|
Initialize a StreamErrorNode object. | |
unicode |
Get the message for the error. |
unicode |
Get the error type. |
Upgrade a legacy error element to the XMPP compliant one. | |
Inherited from ErrorNode | |
| |
libxml2.xmlNode |
Add custom condition element to the error. |
Downgrade an XMPP error element to the legacy format. | |
Free the associated XML node. | |
Free the associated "borrowed" XML node. | |
libxml2.xmlNode |
Get the condition element of the error. |
unicode |
Get the description text from the error element. |
bool |
Check if the error node is a legacy error element. |
str |
Serialize the element node. |
Evaluate XPath expression on the error element. |
Method Details |
---|
__init__(self,
xmlnode_or_cond,
error_type=None,
copy=1,
parent=None)
Initialize a StreamErrorNode object. |
get_message(self)Get the message for the error.
|
get_type(self)Get the error type.
|
upgrade(self)Upgrade a legacy error element to the XMPP compliant one. Use the error code provided to select the condition and the <error/> CDATA for the error text.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Mon Dec 26 17:57:46 2005 | http://epydoc.sf.net |