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

Class Wildcard

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 --+   |
                                            |   |
                             _Annotated_mixin --+
                                                |
                                               Wildcard

An XMLSchema Wildcard component.

Instance Methods [hide private]
 
namespaceConstraint(self)
A constraint on the namespace for the wildcard.
source code
 
processContents(self) source code
 
pluralityData(self)
Get the plurality data for this wildcard
source code
 
hasWildcardElement(self)
Return True, since Wildcard components are wildcards.
source code
 
__init__(self, *args, **kw)
Initialize portions of a component.
source code
 
isAdaptable(self, ctd) source code
 
_adaptForScope(self, owner, ctd)
Wildcards are scope-independent; return self
source code

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

Inherited from namespace._ComponentDependency_mixin: bindingRequires

Inherited from utils.utility.PrivateTransient_mixin: __getstate__

Inherited from _Annotated_mixin: annotation

Inherited from _Annotated_mixin (private): _annotationFromDOM

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

Class Methods [hide private]
 
IntensionalUnion(cls, constraints)
http://www.w3.org/TR/xmlschema-1/#cos-aw-union
source code
 
IntensionalIntersection(cls, constraints)
http://www.w3.org/TR/xmlschema-1/#cos-aw-intersect
source code
 
CreateFromDOM(cls, node, **kw) source code
Class Variables [hide private]
  NC_any = '##any'
  NC_not = '##other'
  NC_targetNamespace = '##targetNamespace'
  NC_local = '##local'
  __namespaceConstraint = None
hash(x)
  PC_skip = 'skip'
  PC_lax = 'lax'
  PC_strict = 'strict'
  __processContents = None
hash(x)
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

namespaceConstraint(self)

source code 

A constraint on the namespace for the wildcard.

Valid values are:

Note that namespace are represented by Namespace instances, not the URIs that actually define a namespace. Absence of a namespace is represented by None, both in the "not" pair and in the set.

__init__(self, *args, **kw)
(Constructor)

source code 

Initialize portions of a component.

Parameters:
  • scope - The scope in which the component is defined
  • namespace_context - The NamespaceContext to use within this component
  • node - If no namespace_context is provided, a DOM node must be provided from which a namespace context can be identified.
  • owner - Reference to the component that owns this one (the immediately enclosing component). Is None in the case of top-level components.
  • schema - Reference to the Schema component to which the component belongs. Required for every component except Schema, Annotation, and Wildcard.
Overrides: object.__init__
(inherited documentation)