pyffi :: object_models :: xsd :: Tree :: Class Tree :: Class Element
[hide private]
[frames] | no frames]

Class Element

source code

object --+        
         |        
 Tree.Node --+    
             |    
Tree.Attribute --+
                 |
                Tree.Element

Instance Methods [hide private]
 
__init__(self, element, parent)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
instantiate(self, inst)
Create attributes on the instance inst.
source code

Inherited from Attribute: attribute_walker

Inherited from Node: class_walker

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]

Inherited from Node: num_occurs

Class Variables [hide private]
  min_occurs = 1
Minimum number of times the element can occur.
  max_occurs = 1
Maximum number of times the element can occur.

Inherited from Attribute: name, pyname, pytype, ref, type_

Inherited from Node: children, logger, parent, schema

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, element, parent)
(Constructor)

source code 
x.__init__(...) initializes x; see help(type(x)) for signature
Overrides: object.__init__
(inherited documentation)

instantiate(self, inst)

source code 
Create attributes on the instance inst.
Overrides: Node.instantiate
(inherited documentation)