Method Summary |
|
__init__ (self,
disco,
xmlnode_or_jid,
node,
name,
action)
Initialize an DiscoItem object. |
|
__del__(self)
|
|
__str__(self)
|
unicode |
get_action (self)
Get the action attribute of the item. |
JID |
get_jid (self)
Get the JID of the item. |
unicode |
get_name (self)
Get the name of the item. |
unicode |
get_node (self)
Get the node of the item. |
|
remove (self)
Remove self 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. |
Inherited from CachedPropertyObject |
|
__getattr__ (self,
name)
|
|
__setattr__ (self,
name,
value)
|
Inherited from StanzaPayloadWrapperObject |
libxml2.xmlNode or libxml2.xmlDoc |
as_xml (self,
parent,
doc)
Get the XML representation of self . |
Inherited from object |
|
__delattr__ (...)
x.__delattr__('name') <==> del x.name |
|
__getattribute__ (...)
x.__getattribute__('name') <==> x.name |
|
__hash__ (x)
x.__hash__() <==> hash(x) |
|
__new__ (T,
S,
...)
T.__new__(S, ...) -> a new object with type S, a subtype of T |
|
__reduce__ (...)
helper for pickle |
|
__reduce_ex__ (...)
helper for pickle |
|
__repr__ (x)
x.__repr__() <==> repr(x) |