| Home | Trees | Index | Help |
|
|---|
| Package pyxmpp :: Package jabber :: Module dataforms :: Class Option |
|
object --+
|
StanzaPayloadObject --+
|
Option
One of optional data form field values.
:Ivariables:
- `label`: option label.
- `values`: option values.
:Types:
- `label`: `unicode`
- `values`: `list` of `unicode`
| Method Summary | |
|---|---|
Initialize an `Option` object. | |
Complete the XML node with `self` content. | |
| Inherited from StanzaPayloadObject | |
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) | |
| Class Variable Summary | |
|---|---|
str |
xml_element_name = 'option'
|
str |
xml_element_namespace = 'jabber:x:data'
|
| Instance Method Details |
|---|
__init__(self,
values,
label=None)
|
complete_xml_element(self, xmlnode, doc)
Complete the XML node with `self` content.
:Parameters:
- `xmlnode`: XML node with the element being built. It has already
right name and namespace, but no attributes or content.
- `doc`: document to which the element belongs.
:Types:
- `xmlnode`: `libxml2.xmlNode`
- `doc`: `libxml2.xmlDoc`
|
| Class Variable Details |
|---|
xml_element_name
|
xml_element_namespace
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Wed May 31 22:37:01 2006 | http://epydoc.sf.net |