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

type 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) source code
 
_initialBindingTemplateMap(self) source code
 
_finalizeModuleContents_vx(self, template_map) source code
 
bindComponent(self, component) source code
 
__str__(self) 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

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
  __moduleRecord = None
  __namespaceGroupModule = None
  _UniqueInModule = set(['CreateFromDOM', 'CreateFromDocument', ...
Identifiers that are reserved within a module.
  __namespaceGroupHead = None
  __namespaceGroup = None
  __ComponentModuleMap = {}
  __components = None
  __componentBindingName = None
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 
Overrides: _ModuleNaming_mixin.__init__

__str__(self)
(Informal representation operator)

source code 
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'])