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

Class Attribute

source code

object --+    
         |    
 Tree.Node --+
             |
            Tree.Attribute
Known Subclasses:

This class implements the attribute node, and also is a base class for the element node.
Instance Methods [hide private]
 
__init__(self, element, parent)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
attribute_walker(self, fileformat)
Resolves all attributes.
source code
 
instantiate(self, inst)
Create attributes on the instance inst.
source code

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]
  name = None
The name of the attribute.
  ref = None
If the attribute is declared elsewhere, then this contains the name of the reference.
  type_ = None
The type of the attribute.
  pyname = None
Name for python.
  pytype = None
Type for python.

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)

attribute_walker(self, fileformat)

source code 
Resolves all attributes.
Overrides: Node.attribute_walker
(inherited documentation)

instantiate(self, inst)

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

Class Variable Details [hide private]

type_

The type of the attribute. This determines the content this attribute can have.
Value:
None