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

Class _ModuleNaming_mixin

source code

object --+
         |
        _ModuleNaming_mixin
Known Subclasses:

Instance Methods [hide private]
 
generator(self) source code
 
__init__(self, generator, *args, **kw)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
_importModule(self, module) source code
 
uniqueInClass(self, component) source code
 
bindingIO(self) source code
 
moduleUID(self) source code
 
_moduleUID_vx(self) source code
 
bindingTag(self)
Return a distinct string recorded in the first 4096 bytes of the binding file.
source code
 
_bindingTagPrefix_vx(self) source code
 
bindingPreface(self)
Return a block of binding text (comment or code) serving as a preface.
source code
 
_bindingPreface_vx(self) source code
 
moduleContents(self) source code
 
modulePath(self) source code
 
_setModulePath(self, path_data) source code
 
bindingFile(self) source code
 
_initializeUniqueInModule(self, unique_in_module) source code
 
uniqueInModule(self) source code
 
_bindComponent(self, component) source code
 
nameInModule(self, component) source code
 
referenceSchemaComponent(self, component) source code
 
_referencedNamespaces(self) source code
 
defineNamespace(self, namespace, name, require_unique=True, definition=None, **kw) source code
 
referenceNamespace(self, namespace) source code
 
literal(self, *args, **kw) source code
 
addImportsFrom(self, module) source code
 
writeToModuleFile(self) source code

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

Class Methods [hide private]
 
BindComponentInModule(cls, component, module) source code
 
ComponentBindingModule(cls, component) source code
 
_RecordModule(cls, module) source code
 
_ForRecord(cls, module_record) source code
Class Variables [hide private]
  __anonSTDIndex = None
hash(x)
  __anonCTDIndex = None
hash(x)
  __uniqueInModule = None
hash(x)
  __uniqueInClass = None
hash(x)
  _UniqueInModule = set(['pyxb', 'sys'])
  __ComponentBindingModuleMap = {}
  __generator = None
hash(x)
  __referencedNamespaces = None
hash(x)
  __moduleUID = None
hash(x)
  __modulePath = None
hash(x)
  __bindingFile = None
hash(x)
  __bindingFilePath = None
hash(x)
  __RecordModuleMap = {}
  _ModuleNaming_mixin__ComponentBindingModuleMap = {}
  _ModuleNaming_mixin__RecordModuleMap = {}
  _ModuleNaming_mixin__anonCTDIndex = None
hash(x)
  _ModuleNaming_mixin__anonSTDIndex = None
hash(x)
  _ModuleNaming_mixin__bindingFile = None
hash(x)
  _ModuleNaming_mixin__bindingFilePath = None
hash(x)
  _ModuleNaming_mixin__generator = None
hash(x)
  _ModuleNaming_mixin__modulePath = None
hash(x)
  _ModuleNaming_mixin__moduleUID = None
hash(x)
  _ModuleNaming_mixin__referencedNamespaces = None
hash(x)
  _ModuleNaming_mixin__uniqueInClass = None
hash(x)
  _ModuleNaming_mixin__uniqueInModule = None
hash(x)
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

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

source code 

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

Overrides: object.__init__
(inherited documentation)

bindingTag(self)

source code 

Return a distinct string recorded in the first 4096 bytes of the binding file.

This is used to ensure uniqueness and avoid overwriting data belonging to a different binding. The return value comprises the class-specialized _bindingTagPrefix_vx with the moduleUID.

bindingPreface(self)

source code 

Return a block of binding text (comment or code) serving as a preface.

Normally this should describe the module contents.