| Home | Trees | Index | Help |
|
|---|
|
|
object --+
|
CachedPropertyObject --+
|
object --+ |
| |
StanzaPayloadWrapperObject --+
|
DiscoItem
| Method Summary | |
|---|---|
Initialize an DiscoItem object. | |
__del__(self)
| |
__str__(self)
| |
unicode |
Get the action attribute of the item. |
JID |
Get the JID of the item. |
unicode |
Get the name of the item. |
unicode |
Get the node of the item. |
Remove self from the containing DiscoItems object. | |
Set the action of the item. | |
Set the JID of the item. | |
Set the name of the item. | |
Set the node of the item. | |
| 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) | |
| Instance Variable Summary | |
|---|---|
unicode |
action: action of the item (cached). |
DiscoItems |
disco: the disco reply this is the part of. |
JID |
jid: the JID of the item (cached). |
unicode |
name: name of the item (cached). |
unicode |
node: node name of the item (cached). |
libxml2.xmlNode |
xmlnode: XML element describing the item. |
| Method Details |
|---|
__init__(self,
disco,
xmlnode_or_jid,
node=None,
name=None,
action=None)
Initialize an |
get_action(self)Get the action attribute of the item.
|
get_jid(self)Get the JID of the item.
|
get_name(self)Get the name of the item.
|
get_node(self)Get the node of the item.
|
remove(self)Removeself from the containing DiscoItems object. |
set_action(self, action)Set the action of the item.
|
set_jid(self, jid)Set the JID of the item.
|
set_name(self, name)Set the name of the item.
|
set_node(self, node)Set the node of the item.
|
| Instance Variable Details |
|---|
actionaction of the item (cached).
|
discothe disco reply this is the part of.
|
jidthe JID of the item (cached).
|
namename of the item (cached).
|
nodenode name of the item (cached).
|
xmlnodeXML element describing the item.
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Mon Dec 26 17:57:28 2005 | http://epydoc.sf.net |