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

# type _UrTypeDefinition

source code

                           object --+
                                    |
                              cscRoot --+
                                        |
     utils.utility.PrivateTransient_mixin --+
                                            |
                               object --+   |
                                        |   |
                                  cscRoot --+
                                            |
         namespace._ComponentDependency_mixin --+
                                                |
                               object --+       |
                                        |       |
                                  cscRoot --+   |
                                            |   |
    namespace.archive._ArchivableObject_mixin --+
                                                |
                               object --+       |
                                        |       |
                                  cscRoot --+   |
                                            |   |
         utils.utility.PrivateTransient_mixin --+
                                                |
                               object --+       |
                                        |       |
                                  cscRoot --+   |
                                            |   |
                utils.utility.Locatable_mixin --+
                                                |
                           _SchemaComponent_mixin --+
                                                    |
                               object --+           |
                                        |           |
                                  cscRoot --+       |
                                            |       |
         utils.utility.PrivateTransient_mixin --+   |
                                                |   |
                                   object --+   |   |
                                            |   |   |
                                      cscRoot --+   |
                                                |   |
                            _NamedComponent_mixin --+
                                                    |
                                   object --+       |
                                            |       |
                                      cscRoot --+   |
                                                |   |
           namespace.resolution._Resolvable_mixin --+
                                                    |
                                   object --+       |
                                            |       |
                                      cscRoot --+   |
                                                |   |
                                 _Annotated_mixin --+
                                                    |
                                   object --+       |
                                            |       |
                                      cscRoot --+   |
                                                |   |
                         _AttributeWildcard_mixin --+
                                                    |
                                ComplexTypeDefinition --+
                                                        |
                                       object --+       |
                                                |       |
                                          cscRoot --+   |
                                                    |   |
                                     _Singleton_mixin --+
                                                        |
                                                       _UrTypeDefinition

Subclass ensures there is only one ur-type.

Instance Methods | [hide private]
pythonSupport(self) The ur-type does have a Python class backing it up. | source code
_resolve(self) Perform whatever steps are required to resolve this component. | source code
Inherited from `ComplexTypeDefinition`: `__init__`, `__str__`, `abstract`, `attributeUses`, `baseTypeDefinition`, `contentType`, `contentTypeAsString`, `derivationMethod`, `hasWildcardElement`, `isBuiltin`, `isResolved`, `localScopedDeclarations`, `lookupScopedAttributeDeclaration`, `lookupScopedElementDeclaration` Inherited from `ComplexTypeDefinition` (private): `_bindingRequires_vx`, `_contentTypeComponent`, `_contentTypeTag`, `_isComplexContent`, `_isHierarchyRoot`, `_recordLocalDeclaration`, `_setDerivationMethod`, `_updateFromOther_csc` Inherited from `_SchemaComponent_mixin`: `bestNCName`, `facStateSortKey`, `hasBinding`, `isTypeDefinition`, `isUrTypeDefinition`, `nameInBinding`, `owner`, `schemaOrderSortKey`, `setNameInBinding` Inherited from `_SchemaComponent_mixin` (private): `_clearNamespaceContext`, `_clone`, `_cloneSource`, `_clones`, `_dissociateFromNamespace`, `_namespaceContext`, `_resetClone_csc`, `_scope`, `_scopeIsGlobal`, `_scopeIsIndeterminate`, `_setFacStateSortKey`, `_setOwner`, `_setScope` Inherited from `namespace._ComponentDependency_mixin`: `bindingRequires` Inherited from `namespace.archive._ArchivableObject_mixin` (private): `_allowUpdateFromOther`, `_objectOrigin`, `_prepareForArchive`, `_setObjectOrigin`, `_updateFromOther` Inherited from `_NamedComponent_mixin`: `__getnewargs__`, `__getstate__`, `__setstate__`, `bindingNamespace`, `expandedName`, `isAnonymous`, `isDerivationConsistent`, `isNameEquivalent`, `isTypeEquivalent`, `name`, `targetNamespace` Inherited from `_NamedComponent_mixin` (private): `_NamedComponent_mixin__needAnonymousSupport`, `_NamedComponent_mixin__pickleAsReference`, `_anonymousName`, `_bindsInNamespace`, `_picklesInArchive`, `_picklingReference`, `_prepareForArchive_csc`, `_schema`, `_setAnonymousName`, `_setBindingNamespace`, `_templateMap` Inherited from `utils.utility.Locatable_mixin` (private): `_location`, `_setLocation` Inherited from `namespace.resolution._Resolvable_mixin` (private): `_queueForResolution` Inherited from `_Annotated_mixin`: `annotation` Inherited from `_Annotated_mixin` (private): `_annotationFromDOM` Inherited from `_AttributeWildcard_mixin`: `attributeWildcard` Inherited from `_AttributeWildcard_mixin` (private): `_attributeRelevantChildren`, `_setAttributeWildcard`

Class Methods | [hide private]
Inherited from `ComplexTypeDefinition`: `CreateFromDOM`, `UrTypeDefinition` Inherited from `_AttributeWildcard_mixin`: `CompleteWildcard`

Static Methods | [hide private]
Inherited from `_NamedComponent_mixin`: `__new__`

Class Variables | [hide private]
| __singleton = `None`
Inherited from `ComplexTypeDefinition`: `CT_ELEMENT_ONLY`, `CT_EMPTY`, `CT_MIXED`, `CT_SIMPLE`, `DM_empty`, `DM_extension`, `DM_restriction` Inherited from `ComplexTypeDefinition` (private): `_DM_Map` Inherited from `_SchemaComponent_mixin` (private): `_SchemaComponent_mixin__PrivateTransient`, `_SchemaComponent_mixin__cloneSource`, `_SchemaComponent_mixin__clones`, `_SchemaComponent_mixin__facStateSortKey`, `_SchemaComponent_mixin__nameInBinding`, `_SchemaComponent_mixin__namespaceContext`, `_SchemaComponent_mixin__ownedComponents`, `_SchemaComponent_mixin__owner`, `_SchemaComponent_mixin__schemaOrderSortKey`, `_SchemaComponent_mixin__scope` Inherited from `namespace._ComponentDependency_mixin` (private): `_ComponentDependency_mixin__PrivateTransient`, `_ComponentDependency_mixin__bindingRequires` Inherited from `namespace.archive._ArchivableObject_mixin` (private): `_ArchivableObject_mixin__objectOrigin` Inherited from `_NamedComponent_mixin` (private): `_NamedComponent_mixin__AnonymousCategory`, `_NamedComponent_mixin__PrivateTransient`, `_NamedComponent_mixin__anonymousName`, `_NamedComponent_mixin__bindingNamespace`, `_NamedComponent_mixin__name`, `_NamedComponent_mixin__schema`, `_NamedComponent_mixin__targetNamespace`, `_NamedComponent_mixin__templateMap` Inherited from `namespace.resolution._Resolvable_mixin` (private): `_TraceResolution` Inherited from `_Annotated_mixin` (private): `_Annotated_mixin__annotation` Inherited from `_AttributeWildcard_mixin` (private): `_AttributeWildcard_mixin__attributeWildcard`

Method Details | [hide private]

### pythonSupport(self) | source code
The ur-type does have a Python class backing it up. Overrides: ComplexTypeDefinition.pythonSupport

### _resolve(self) | source code
Perform whatever steps are required to resolve this component. Resolution is performed in the context of the namespace to which the component belongs. Invoking this method may fail to complete the resolution process if the component itself depends on unresolved components. The sole caller of this should be _NamespaceResolution_mixin.resolveDefinitions. This method is permitted (nay, encouraged) to raise an exception if resolution requires interpreting a QName and the named component cannot be found. Override this in the child class. In the prefix, if isResolved is true, return right away. If something prevents you from completing resolution, invoke self._queueForResolution() (so it is retried later) and immediately return self. Prior to leaving after successful resolution discard any cached dom node by setting `self.__domNode=None`. Returns: `self`, whether or not resolution succeeds. Raises: `pyxb.SchemaValidationError` - if resolution requlres a reference to an unknown component Overrides: namespace.resolution._Resolvable_mixin._resolve (inherited documentation)