Home | Trees | Indices | Help |
|
---|
|
object --+ | elementRepresentative.ElementRepresentative --+ | Attribute
|
|||
|
__init__(self,
xsdElement,
parent) Adds itself to the attribute dictionary in its containing type. |
||
|
__str__(self) Prints its name in a form that allows for quick identification of an attribute, without needing a bulky name that does not match the name used. |
||
|
processChildren(self) There is a special processChildren() here to handle special types, which can be declared as a child of an attribute. |
||
|
getType(self) Returns its type from the class dictionary in PyXSD. |
||
|
__get__(self,
obj,
mystery=None) Gets an attribute value from the obj's dictionary. |
||
|
__set__(self,
obj,
value) Sets values to attributes. |
||
|
__delete__(self,
obj) Deletes an entry from the dictionary. |
||
|
getUse(self) Returns the 'use' value, which says if the attribute is required or the default optional. |
||
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 attribute. If an attribute 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 attribute 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 values to attributes. Converts text Boolean values to binary values (integers of 0 and 1). 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. |
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0alpha3 on Thu Sep 07 21:19:38 2006 | http://epydoc.sourceforge.net |