| Home | Trees | Index | Help |
|
|---|
|
|
object --+
|
CachedPropertyObject --+
|
object --+ |
| |
StanzaPayloadWrapperObject --+
|
DiscoIdentity
An <identity/> element of disco#info reply.
Identifies an item by its name, category and type.
| Method Summary | |
|---|---|
Initialize an DiscoIdentity object. | |
__del__(self)
| |
__str__(self)
| |
unicode |
Get the category of the item. |
unicode |
Get the name of the item. |
unicode |
Get the type of the item. |
Remove self from the containing DiscoInfo object. | |
Set the category of the item. | |
Set the name of the item. | |
Set the type 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 | |
|---|---|
DiscoInfo |
disco: the disco reply this is the part of. |
libxml2.xmlNode |
xmlnode: XML element describing the identity. |
| Method Details |
|---|
__init__(self,
disco,
xmlnode_or_name,
item_category=None,
item_type=None,
replace=False)
Initialize an |
get_category(self)Get the category of the item.
|
get_name(self)Get the name of the item.
|
get_type(self)Get the type of the item.
|
remove(self)Removeself from the containing DiscoInfo object. |
set_category(self, category)Set the category of the item.
|
set_name(self, name)Set the name of the item.
|
set_type(self, item_type)Set the type of the item.
|
| Instance Variable Details |
|---|
discothe disco reply this is the part of.
|
xmlnodeXML element describing the identity.
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Mon Dec 26 17:57:44 2005 | http://epydoc.sf.net |