Package pyxb :: Package namespace :: Module archive :: Class _SchemaOrigin
[hide private]
[frames] | no frames]

type _SchemaOrigin

source code

                      object --+            
                               |            
                         cscRoot --+        
                                   |        
utils.utility.PrivateTransient_mixin --+    
                                       |    
                          object --+   |    
                                   |   |    
                             cscRoot --+    
                                       |    
                           _ObjectOrigin --+
                                           |
                                          _SchemaOrigin

Holds the data regarding components derived from a single schema.

Coupled to a particular namespace through the _NamespaceComponentAssociation_mixin.

Instance Methods [hide private]
 
__setDefaultKW(self, kw) source code
 
match(self, **kw)
Determine whether this record matches the parameters.
source code
 
location(self) source code
 
schema(self) source code
 
version(self) source code
 
__init__(self, **kw) source code
 
__str__(self) source code
 
_SchemaOrigin__setDefaultKW(self, kw) source code

Inherited from _ObjectOrigin: addCategoryMember, categoryMembers, generationUID, moduleRecord, namespace, originatedObjects, resetCategoryMembers, signature

Inherited from utils.utility.PrivateTransient_mixin: __getstate__

Class Variables [hide private]
  __PrivateTransient = set()
  __location = None
  __schema = None
  __version = None
  _SchemaOrigin__PrivateTransient = set(['schema'])
  _SchemaOrigin__location = None
  _SchemaOrigin__schema = None
  _SchemaOrigin__version = None
Method Details [hide private]

match(self, **kw)

source code 

Determine whether this record matches the parameters.

Parameters:
  • schema - a pyxb.xmlschema.structures.Schema instance from which the other parameters are obtained.
  • location - a schema location (URI)
  • signature - a schema signature
Returns:
True iff either location or signature matches.

__init__(self, **kw)
(Constructor)

source code 
Overrides: cscRoot.__init__

__str__(self)
(Informal representation operator)

source code 
Overrides: object.__str__
(inherited documentation)