Package pyxb :: Package xmlschema :: Module structures :: Class ModelGroupDefinition
[hide private]
[frames] | no frames]

Class ModelGroupDefinition

source code

                       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 --+       |
                                        |       |
     utils.utility.PrivateTransient_mixin --+   |
                                            |   |
                               object --+   |   |
                                        |   |   |
                                  cscRoot --+   |
                                            |   |
                        _NamedComponent_mixin --+
                                                |
                               object --+       |
                                        |       |
                                  cscRoot --+   |
                                            |   |
                             _Annotated_mixin --+
                                                |
                                               ModelGroupDefinition

An XMLSchema Model Group Definition component.

Instance Methods [hide private]
 
modelGroup(self)
The model group for which this definition provides a name.
source code
frozenset
_bindingRequires_vx(self, include_lax)
Model group definitions depend on the contained model group.
source code
 
__str__(self)
str(x)
source code

Inherited from _SchemaComponent_mixin: __init__, bestNCName, hasBinding, isTypeDefinition, isUrTypeDefinition, nameInBinding, owner, setNameInBinding

Inherited from namespace._ComponentDependency_mixin: bindingRequires

Inherited from _NamedComponent_mixin: __getnewargs__, __getstate__, __setstate__, bindingNamespace, expandedName, isAnonymous, isDerivationConsistent, isNameEquivalent, isTypeEquivalent, name, targetNamespace

Inherited from _Annotated_mixin: annotation

Inherited from _Annotated_mixin (private): _annotationFromDOM

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

Class Methods [hide private]
 
CreateFromDOM(cls, node, **kw)
Create a Model Group Definition from a DOM element node.
source code
Static Methods [hide private]

Inherited from _NamedComponent_mixin: __new__

Class Variables [hide private]
  __modelGroup = None
hash(x)
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

CreateFromDOM(cls, node, **kw)
Class Method

source code 

Create a Model Group Definition from a DOM element node.

wxs is a Schema instance within which the model group is being defined.

node is a DOM element. The name must be 'group', and the node must be in the XMLSchema namespace. The node must have a 'name' attribute, and must not have a 'ref' attribute.

_bindingRequires_vx(self, include_lax)

source code 

Model group definitions depend on the contained model group.

Returns: frozenset
The component instances on which this component depends
Raises:
  • LogicError - A subclass failed to implement this method
Overrides: namespace._ComponentDependency_mixin._bindingRequires_vx

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)