| Home | Trees | Index | Help |
|
|---|
|
|
object --+
|
CachedPropertyObject --+
|
object --+ |
| |
StanzaPayloadWrapperObject --+
|
DiscoItems
| Method Summary | |
|---|---|
Initialize an DiscoItems object. | |
__del__(self)
| |
DiscoItem. |
Add a new item to the DiscoItems object. |
list of DiscoItem |
Get the items contained in self. |
unicode |
Get the node address of the DiscoItems object. |
bool |
Check if self contains an item. |
Clear cached item list. | |
Set items in the disco#items object. | |
Set the node of the disco#item element. | |
| Inherited from CachedPropertyObject | |
| |
| |
| Inherited from StanzaPayloadWrapperObject | |
libxml2.xmlNode or libxml2.xmlDoc |
Get the XML representation of self. |
| 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.__str__() <==> str(x) | |
| Instance Variable Summary | |
|---|---|
tuple of DiscoItem |
items: items in the disco#items element (cached). |
unicode |
node: node name of the disco#items element (cached). |
libxml2.xmlNode |
xmlnode: XML element listing the items. |
| Method Details |
|---|
__init__(self,
xmlnode_or_node=None)
|
add_item(self, jid, node=None, name=None, action=None)Add a new item to theDiscoItems object.
|
get_items(self)Get the items contained inself.
|
get_node(self)Get the node address of theDiscoItems object.
|
has_item(self, jid, node=None)Check ifself contains an item.
|
invalidate_items(self)Clear cached item list. |
set_items(self, item_list)Set items in the disco#items object. All previous items are removed.
|
set_node(self, node)Set the node of the disco#item element.
|
| Instance Variable Details |
|---|
itemsitems in the disco#items element (cached).
|
nodenode name of the disco#items element (cached).
|
xmlnodeXML element listing the items.
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Mon Dec 26 17:57:27 2005 | http://epydoc.sf.net |