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

Class Tree

source code

object --+
         |
        Tree

Converts an xsd element tree into a tree of nodes that contain all information and methods for creating classes. Each node has a class matching the element type. The node constructor Node.__init__ extracts the required information from the element and its children, thereby constructing the tree of nodes. Once the tree is constructed, call the Node.class_walker method to get a list of classes.
Nested Classes [hide private]
  Node
Base class for all nodes in the tree.
  ClassNode
A node that corresponds to a class.
  All
  Annotation
  Any
  AnyAttribute
  Appinfo
  Attribute
This class implements the attribute node, and also is a base class for the element node.
  AttributeGroup
  Choice
  ComplexContent
  ComplexType
  Documentation
  Element
  Enumeration
  Extension
  Field
  Group
  Import
  Include
  Key
  Keyref
  Length
  List
  MaxExclusive
  MaxInclusive
  MaxLength
  MinInclusive
  MinLength
  Pattern
  Redefine
  Restriction
  Schema
Class wrapper for schema tag.
  Selector
  Sequence
  SimpleContent
  SimpleType
  Union
  Unique
Instance Methods [hide private]

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

Class Methods [hide private]
 
node_factory(cls, element, parent)
Create an appropriate instance for the given xsd element.
source code
Class Variables [hide private]
  logger = logging.getLogger("pyffi.object_models.xsd")
For logging debug messages, warnings, and errors.
Properties [hide private]

Inherited from object: __class__