| Home | Trees | Index | Help |
|
|---|
| Package pyxmpp :: Package jabber :: Module muccore :: Class MucStatus |
|
object--+ |MucItemBase--+ | MucStatus
MUC <item/> element - describes special meaning of a stanza
:Ivariables:
- `code`: staus code, as defined in JEP 45
:Types:
- `code`: `int`
| Method Summary | |
|---|---|
Initialize a `MucStatus` element. | |
Create XML representation of `self`. | |
Initialize a `MucStatus` element from an XML node. | |
Initialize a `MucStatus` element from a status code. | |
| Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) | |
| Method Details |
|---|
__init__(self,
xmlnode_or_code)
|
as_xml(self, parent)
Create XML representation of `self`.
:Parameters:
- `parent`: the element to which the created node should be linked to.
:Types:
- `parent`: `libxml2.xmlNode`
:return: an XML node.
:returntype: `libxml2.xmlNode`
|
__from_xmlnode(self, xmlnode)
Initialize a `MucStatus` element from an XML node.
:Parameters:
- `xmlnode`: XML node to parse.
:Types:
- `xmlnode`: `libxml2.xmlNode`
|
__init(self, code)
Initialize a `MucStatus` element from a status code.
:Parameters:
- `code`: the status code.
:Types:
- `code`: `int`
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Wed May 31 22:36:59 2006 | http://epydoc.sf.net |