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

Class Node

source code

object --+
         |
        Tree.Node
Known Subclasses:

Base class for all nodes in the tree.
Instance Methods [hide private]
 
__init__(self, element, parent)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
class_walker(self, fileformat)
Yields all classes defined under this node.
source code
 
attribute_walker(self, fileformat)
Resolves all attributes.
source code
 
instantiate(self, inst)
Create attributes on the instance inst.
source code

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

Static Methods [hide private]
 
num_occurs(num)
Converts a string to an int or None (if unbounded).
source code
Class Variables [hide private]
  schema = None
A weak proxy of the root element of the tree.
  parent = None
A weak proxy of the parent element of this node, or None.
  children = None
The child elements of this node.
  logger = logging.getLogger("pyffi.object_models.xsd")
For logging debug messages, warnings, and errors.
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)