Package pyxb :: Package xmlschema :: Module structures :: Class _Annotated_mixin
[hide private]
[frames] | no frames]

Class _Annotated_mixin

source code

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

Mix-in that supports an optional single annotation that describes the component.

Most schema components have annotations. The ones that don't are AttributeUse, Particle, and Annotation. ComplexTypeDefinition and Schema support multiple annotations, so do not mix-in this class.

Instance Methods [hide private]
 
__init__(self, *args, **kw)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
_annotationFromDOM(self, node) source code
 
_updateFromOther_csc(self, other)
Override fields in this instance with those from the other.
source code
 
annotation(self) source code

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

Class Variables [hide private]
  __annotation = None
  _Annotated_mixin__annotation = None
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

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

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

_updateFromOther_csc(self, other)

source code 

Override fields in this instance with those from the other.

Post-extended; description in leaf implementation in ComplexTypeDefinition and SimpleTypeDefinition.