|
|
__init__(self,
typ=None,
data=[],
title=None,
node=None)
Create new dataform of type 'typ'. |
source code
|
|
|
|
|
|
|
setType(self,
typ)
Set the type of dataform. |
source code
|
|
|
|
getTitle(self)
Return the title of dataform. |
source code
|
|
|
|
setTitle(self,
text)
Set the title of dataform. |
source code
|
|
|
|
getInstructions(self)
Return the instructions of dataform. |
source code
|
|
|
|
setInstructions(self,
text)
Set the instructions of dataform. |
source code
|
|
|
|
addInstructions(self,
text)
Add one more instruction to the dataform. |
source code
|
|
|
|
getField(self,
name)
Return the datafield object with name 'name' (if exists). |
source code
|
|
|
|
setField(self,
name)
Create if nessessary or get the existing datafield object with
name 'name' and return it. |
source code
|
|
|
|
asDict(self)
Represent dataform as simple dictionary mapping of datafield names
to their values. |
source code
|
|
|
|
|
|
|
__setitem__(self,
name,
val)
Simple dictionary interface for setting datafields values by their
names. |
source code
|
|
|
Inherited from simplexml.Node:
__delitem__,
__getattr__,
__str__,
addChild,
addData,
clearData,
delAttr,
delChild,
getAttr,
getAttrs,
getCDATA,
getChildren,
getData,
getName,
getNamespace,
getParent,
getPayload,
getTag,
getTagAttr,
getTagData,
getTags,
has_attr,
setAttr,
setData,
setName,
setNamespace,
setParent,
setPayload,
setTag,
setTagAttr,
setTagData
|