Package xmpp :: Module protocol :: Class ErrorNode
[hide private]
[frames] | no frames]

Class ErrorNode

source code

simplexml.Node --+
                 |
                ErrorNode

XMPP-style error element. In the case of stanza error should be attached to XMPP stanza. In the case of stream-level errors should be used separately.

Instance Methods [hide private]
 
__init__(self, name, code=None, typ=None, text=None)
Create new error node object.
source code

Inherited from simplexml.Node: __delitem__, __getattr__, __getitem__, __setitem__, __str__, addChild, addData, clearData, delAttr, delChild, getAttr, getAttrs, getCDATA, getChildren, getData, getName, getNamespace, getParent, getPayload, getTag, getTagAttr, getTagData, getTags, has_attr, setAttr, setData, setName, setNamespace, setParent, setPayload, setTag, setTagAttr, setTagData

Class Variables [hide private]

Inherited from simplexml.Node: FORCE_NODE_RECREATION

Method Details [hide private]

__init__(self, name, code=None, typ=None, text=None)
(Constructor)

source code 
Create new error node object. Mandatory parameter: name - name of error condition. Optional parameters: code, typ, text. Used for backwards compartibility with older jabber protocol.
Overrides: simplexml.Node.__init__