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

Class _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)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__str__(self)
str(x)
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__

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

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

Inherited from object: __class__

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 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)