| Home | Trees | Index | Help |
|
|---|
|
|
object --+
|
StanzaPayloadObject --+
|
Option
| Method Summary | |
|---|---|
Initialize an Option object. | |
Complete the XML node with self content. | |
Option |
Create a new Option object from an XML element. (Class method)
|
| Inherited from StanzaPayloadObject | |
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.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) | |
| Instance Variable Summary | |
|---|---|
unicode |
label: option label. |
list of unicode |
values: option values. |
| Class Variable Summary | |
|---|---|
unicode |
xml_element_name: name for the XML element provided by the class. |
unicode |
xml_element_namespace: namespace URI for the XML element provided
by the class. |
| Instance Method Details |
|---|
__init__(self,
values,
label=None)
Initialize an |
complete_xml_element(self, xmlnode, doc)Complete the XML node withself content.
|
| Class Method Details |
|---|
_new_from_xml(cls, xmlnode)Create a newOption object from an XML element.
|
| Instance Variable Details |
|---|
labeloption label.
|
valuesoption values.
|
| Class Variable Details |
|---|
xml_element_namename for the XML element provided by the class.
|
xml_element_namespacenamespace URI for the XML element provided by the class.
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Mon Dec 26 17:57:29 2005 | http://epydoc.sf.net |