Package pyxb :: Package binding :: Module generate :: Class NamespaceModule
[hide private]
[frames] | no frames]

Class NamespaceModule

source code

         object --+    
                  |    
_ModuleNaming_mixin --+
                      |
                     NamespaceModule

This class represents a Python module that holds all the declarations belonging to a specific namespace.

Instance Methods [hide private]
 
namespace(self) source code
 
moduleRecord(self) source code
 
namespaceGroupModule(self) source code
 
setNamespaceGroupModule(self, namespace_group_module) source code
 
namespaceGroupHead(self) source code
 
componentsInNamespace(self) source code
 
_bindingTagPrefix_vx(self) source code
 
_bindingPreface_vx(self) source code
 
_moduleUID_vx(self) source code
 
namespaceGroupMulti(self) source code
 
__init__(self, generator, module_record, mr_scc, components=None, **kw)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
_initialBindingTemplateMap(self) source code
 
_finalizeModuleContents_vx(self, template_map) source code
 
bindComponent(self, component) source code
 
__str__(self)
str(x)
source code

Inherited from _ModuleNaming_mixin: addImportsFrom, bindingFile, bindingIO, bindingPreface, bindingTag, defineNamespace, generator, importForDeclaration, literal, moduleContents, modulePath, moduleUID, nameInModule, pathFromImport, referenceNamespace, referenceSchemaComponent, uniqueInClass, uniqueInModule, writeToModuleFile

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

Class Methods [hide private]
 
ForComponent(cls, component) source code

Inherited from _ModuleNaming_mixin: BindComponentInModule, ComponentBindingModule

Inherited from _ModuleNaming_mixin (private): _ForRecord, _RecordModule

Class Variables [hide private]
  __namespace = None
hash(x)
  __moduleRecord = None
hash(x)
  __namespaceGroupModule = None
hash(x)
  _UniqueInModule = set(['CreateFromDOM', 'CreateFromDocument', ...
Identifiers that are reserved within a module.
  __namespaceGroupHead = None
hash(x)
  __namespaceGroup = None
hash(x)
  __ComponentModuleMap = {}
  __components = None
hash(x)
  __componentBindingName = None
hash(x)
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

_bindingTagPrefix_vx(self)

source code 
Overrides: _ModuleNaming_mixin._bindingTagPrefix_vx

_bindingPreface_vx(self)

source code 
Overrides: _ModuleNaming_mixin._bindingPreface_vx

_moduleUID_vx(self)

source code 
Overrides: _ModuleNaming_mixin._moduleUID_vx

__init__(self, generator, module_record, mr_scc, components=None, **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)

Class Variable Details [hide private]

_UniqueInModule

Identifiers that are reserved within a module.

Subclasses extend this with the identifiers they add to the module. Module-level schema-derived identifiers (such as type definition and element names) are deconflicted from this set and from each other.

Value:
set(['CreateFromDOM', 'CreateFromDocument', 'pyxb', 'sys'])