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

Class _NamespaceArchivable_mixin

source code

object --+    
         |    
   cscRoot --+
             |
            _NamespaceArchivable_mixin
Known Subclasses:

Encapsulate the operations and data relevant to archiving namespaces.

This class mixes-in to pyxb.namespace.Namespace

Instance Methods [hide private]
 
_reset(self)
CSC extension to reset fields of a Namespace.
source code
 
_loadedFromArchive(self) source code
 
isActive(self, empty_inactive=False) source code
 
_activate(self) source code
 
__init__(self, *args, **kw)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
_setLoadedFromArchive(self, archive) source code
 
_setWroteToArchive(self, archive) source code
 
_removeArchive(self, archive) source code
 
isLoadable(self)
Return True iff the component model for this namespace can be loaded from a namespace archive.
source code
 
loadableFrom(self)
Return the list of archives from which components for this namespace can be loaded.
source code
 
moduleRecords(self) source code
 
addModuleRecord(self, module_record) source code
 
lookupModuleRecordByUID(self, generation_uid, create_if_missing=False, *args, **kw) source code
 
_setState_csc(self, kw) source code
 
markNotLoadable(self)
Prevent loading this namespace from an archive.
source code

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

Class Variables [hide private]
  __wroteToArchive = None
hash(x)
  __loadedFromArchive = None
hash(x)
  __isActive = None
hash(x)
  __moduleRecordMap = None
hash(x)
  _NamespaceArchivable_mixin__isActive = None
hash(x)
  _NamespaceArchivable_mixin__loadedFromArchive = None
hash(x)
  _NamespaceArchivable_mixin__moduleRecordMap = None
hash(x)
  _NamespaceArchivable_mixin__wroteToArchive = None
hash(x)
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

_reset(self)

source code 

CSC extension to reset fields of a Namespace.

This one handles category-related data.

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

source code 

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

Overrides: object.__init__
(inherited documentation)

markNotLoadable(self)

source code 

Prevent loading this namespace from an archive.

This marks all archives in which the namespace appears, whether publically or privately, as not loadable.