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

# type _Annotated_mixin

source code

    object --+
             |
       cscRoot --+
                 |
                _Annotated_mixin

Known Subclasses:
  - AttributeDeclaration
  - , AttributeGroupDefinition
  - , ComplexTypeDefinition
  - , ElementDeclaration
  - , IdentityConstraintDefinition
  - , ModelGroup
  - , ModelGroupDefinition
  - , NotationDeclaration
  - , SimpleTypeDefinition
  - , Wildcard
  - , _ImportElementInformationItem

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) | 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

Class Variables | [hide private]
| __annotation = `None`
| _Annotated_mixin__annotation = `None`

Method Details | [hide private]

### __init__(self, *args, **kw) (Constructor) | source code
Overrides: cscRoot.__init__

### _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.