Package pyxb :: Package binding :: Module content
[hide private]
[frames] | no frames]

Module content

source code

Helper classes that maintain the content model of XMLSchema in the binding classes.

AttributeUse and ElementUse record information associated with a binding class, for example the types of values, the original XML QName or NCName, and the Python field in which the values are stored. They also provide the low-level interface to set and get the corresponding values in a binding instance.

ContentModelTransition, ContentModelState, and ContentModel are used to store a deterministic finite automaton which is used to translate between binding instances and other representations (e.g., DOM nodes)

ModelGroupAllAlternative and ModelGroupAll represent special nodes in the DFA that support a model group with compositor "all" in a way that does not result in an exponential state explosion in the DFA.

DFAStack and its related internal classes are used in stream-based processing of content.

Wildcard holds content-related information used in the content model.

Classes [hide private]
  AttributeUse
A helper class that encapsulates everything we need to know about the way an attribute is used within a binding class.
  ElementUse
Aggregate the information relevant to an element of a complex type.
  _DFAState
Base class for a suspended DFA interpretation.
  _MGAllState
The state of a suspended interpretation of a ModelGroupAll transition.
  DFAStack
A stack of states and content models representing the current status of an interpretation of a content model, including invocations of nested content models reached through ModelGroupAll instances.
  ContentModelTransition
Represents a transition in the content model DFA.
  ContentModelState
Represents a state in a ContentModel DFA.
  ContentModel
The ContentModel is a deterministic finite state automaton which can be traversed using a sequence of DOM nodes which are matched on transitions against the legal content model of a complex type.
  ModelGroupAllAlternative
Represents a single alternative in an "all" model group.
  ModelGroupAll
Content model class that represents a ModelGroup with an "all" compositor.
  Wildcard
Placeholder for wildcard objects.