Home | Trees | Indices | Help |
|
---|
|
object --+ | cscRoot --+ | _ParticleTree_mixin --+ | object --+ | | | cscRoot --+ | | | utils.utility.PrivateTransient_mixin --+ | | | object --+ | | | | | cscRoot --+ | | | namespace._ComponentDependency_mixin --+ | | | object --+ | | | | | cscRoot --+ | | | | | namespace.archive._ArchivableObject_mixin --+ | | | object --+ | | | | | cscRoot --+ | | | | | utils.utility.PrivateTransient_mixin --+ | | | object --+ | | | | | cscRoot --+ | | | | | utils.utility.Locatable_mixin --+ | | | _SchemaComponent_mixin --+ | object --+ | | | cscRoot --+ | | | _Annotated_mixin --+ | ModelGroup
An XMLSchema Model Group component.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
frozenset
|
|
||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
|
|||
|
|||
|
|||
|
|
|||
C_INVALID = 0
|
|||
C_ALL = 1
|
|||
C_CHOICE = 2
|
|||
C_SEQUENCE = 3
|
|||
__compositor = 0
|
|||
__particles = None hash(x) |
|||
__modelGroupDefinition = None hash(x) |
|||
Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
A model group has an unresolvable particle if any of its particles is unresolvable. Duh. |
Return the minimum and maximum of the number of elements that can appear in a sequence matched by this particle. See http://www.w3.org/TR/xmlschema-1/#cos-seq-range |
Create a new model group. compositor must be a legal compositor value (one of C_ALL, C_CHOICE, C_SEQUENCE). particles must be a list of zero or more Particle instances. scope is the _ScopeDeclaration_mixin context into which new declarations are recorded. It can be SCOPE_global, a complex type definition, or None if this is (or is within) a named model group. model_group_definition is an instance of ModelGroupDefinition if this is a named model group. It defaults to None indicating a local group.
|
Placeholder for subclass method that identifies the necessary components.
|
Create a model group from the given DOM node. wxs is a Schema instance within which the model group is being defined. node is a DOM element. The name must be one of ( 'all', 'choice', 'sequence' ), and the node must be in the XMLSchema namespace. scope is the _ScopeDeclaration_mxin context that is assigned to declarations that appear within the model group. It can be None, indicating no scope defined, or a complex type definition. |
Mix-in supporting walks of Particle trees. This invokes a provided function on each node in a tree defining the content model of a particle, both on the way down the tree and on the way back up. A standard implementation would be: def _walkParticleTree (self, visit, arg): visit(self, True, arg) self.__term.walkParticleTree(visit, arg) visit(self, False, arg)
|
str(x)
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Nov 7 19:27:36 2012 | http://epydoc.sourceforge.net |