Home | Trees | Indices | Help |
|
---|
|
object --+ | elementRepresentative.ElementRepresentative --+ | Element
|
|||
|
__init__(self,
xsdElement,
parent) Adds itself to the element list in its parent. |
||
|
getType(self) Returns its type from the class dictionary in PyXSD. |
||
|
processChildren(self) There is a special processChildren() here to handle special types, which can be declared as a child of an element. |
||
|
__str__(self) Prints its name in a form that allows for quick identification of an element, without needing a bulky name that does not match the name used. |
||
|
__get__(self,
obj,
mystery=None) Gets an element value from the obj's dictionary. |
||
|
__set__(self,
obj,
value) Sets an element's name to the element in the obj's dictionary. |
||
|
__delete__(self,
obj) Deletes an entry from the dictionary. |
||
|
isDict(self) Returns false. |
||
|
isList(self) Returns true if maxOccurs is greater than one. |
||
|
getMinOccurs(self) Returns an integer value for the minOccurs .
|
||
|
getMaxOccurs(self) Returns an integer value for the maxOccurs .
|
||
Inherited from Inherited from |
|
|||
Inherited from |
|
|||
Inherited from |
|
|||
Inherited from |
|
|
|
There is a special processChildren() here to handle special types, which can be declared as a child of an element. If an element child can exist that is not a type, then this function will screw it up; however, as far as the developers knew at the time of writing this program, they cannot. No parameters. |
|
Gets an element value from the obj's dictionary. Returns it value if it has one, returns the default value if it does not. The second argument is called See python documentation for full documentation on descriptors. Some links should be included on the pyXSD website. |
Sets an element's name to the element in the obj's dictionary. If multiple elements exist, sets it to a list. If it is not an element, raises an error. Has code for case when it is dictionary, but no case in which a dictionary would be used. See python documentation for full documentation on descriptors. Some links should be included on the pyXSD website. |
Deletes an entry from the dictionary. See python documentation for full documentation on descriptors. Some links should be included on the pyXSD website. |
Returns false. Placeholder function for possible future addition of case where the an element could best be expressed as a dictionary. No parameters |
Returns true if maxOccurs is greater than one. If it is true, treats all of the elements that are from the schema definition as a list. Otherwise returns false. No parameters. |
Returns an integer value for the No parameters |
Returns an integer value for the No parameters |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0alpha3 on Thu Sep 07 21:19:38 2006 | http://epydoc.sourceforge.net |