Package pyxmpp :: Package jabber :: Module muccore :: Class MucUserX |
[hide private]

# Class MucUserX

source code

                            object --+
                                     |
    objects.StanzaPayloadWrapperObject --+
                                         |
                                  MucXBase --+
                                             |
                                            MucUserX

Known Subclasses:
  - MucAdminQuery

Wrapper for http://www.jabber.org/protocol/muc#user namespaced stanza payload "x" elements and usually containing information about a room user.

Instance Methods | [hide private]
`list` of MucItemBase (MucItem and/or MucStatus) |
get_items(self) Get a list of objects describing the content of `self`. | source code
clear(self) Clear the content of self.xmlnode removing all <item/>, <status/>, etc. | source code
add_item(self, item) Add an item to `self`. | source code
Inherited from `MucXBase`: `__del__`, `__init__`, `free`, `free_borrowed`, `serialize`, `xpath_eval` Inherited from `objects.StanzaPayloadWrapperObject`: `as_xml` Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Class Variables | [hide private]
| ns = ``'``http://jabber.org/protocol/muc#user``'`` hash(x)
Inherited from `MucXBase`: `element`

Instance Variables | [hide private]
`libxml2.xmlNode` | xmlnode XML node of the object.

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### get_items(self) | source code
Get a list of objects describing the content of `self`. Returns: `list` of MucItemBase (MucItem and/or MucStatus) the list of objects.

### add_item(self, item) | source code
Add an item to `self`. Parameters: `item` (MucItemBase) - the item to add.