If you are working with jabber:x:data (XEP-0004, XEP-0068, XEP-0122) then
you will need to work with instances of this class.
|
__init__(self,
name=None,
value=None,
typ=None,
required=0,
desc=None,
options=[ ] ,
node=None)
Create new data field of specified name,value and type |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
setValues(self,
lst)
Set the values of this field as values-list. Replaces all previous filed
values! If you need to just add a value - use addValue method |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from simplexml.Node :
__contains__ ,
__delitem__ ,
__getattr__ ,
__getitem__ ,
__setitem__ ,
__str__ ,
addChild ,
addData ,
clearData ,
delAttr ,
delChild ,
getAttr ,
getAttrs ,
getChildren ,
getData ,
getName ,
getNamespace ,
getParent ,
getPayload ,
getTag ,
getTagAttr ,
getTagData ,
getTags ,
has_attr ,
iterTags ,
lookup_nsp ,
setAttr ,
setData ,
setName ,
setNamespace ,
setParent ,
setPayload ,
setTag ,
setTagAttr ,
setTagData
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|