Home | Trees | Indices | Help |
|
---|
|
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
A mix-in that marks the class as representing a schema component.
This exists so that we can determine the owning schema for any
component we encounter. This is normally done at construction time by
passing a schema=val
parameter to the constructor.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
None
|
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
|
|||
__PrivateTransient = set()
|
|||
__namespaceContext = None hash(x) |
|||
__nameInBinding = None hash(x) |
|||
__owner = None hash(x) |
|||
__ownedComponents = None hash(x) |
|||
__scope = None hash(x) |
|||
__cloneSource = None hash(x) |
|||
__clones = None hash(x) |
|||
_SchemaComponent_mixin__PrivateTransient =
|
|||
_SchemaComponent_mixin__cloneSource = None hash(x) |
|||
_SchemaComponent_mixin__clones = None hash(x) |
|||
_SchemaComponent_mixin__nameInBinding = None hash(x) |
|||
_SchemaComponent_mixin__namespaceContext = None hash(x) |
|||
_SchemaComponent_mixin__ownedComponents = None hash(x) |
|||
_SchemaComponent_mixin__owner = None hash(x) |
|||
_SchemaComponent_mixin__scope = None hash(x) |
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
The namespace context for this schema. This defines where it looks things up, where it puts things it createas, the in-scope namespace declarations, etc. Must be defined for anything that does any sort of QName interpretation. The value is generally a reference to a namespace context associated with the DOM element node corresponding to this component. |
Set the scope of this instance after construction. This should only be invoked on cloned declarations being incorporated into a complex type definition. Note that the source of the clone may be any scope: indeterminate if from a model (attribute) group definition; global if a reference to a global component; or ctd if inherited from a complex base type. |
Initialize portions of a component.
|
Dissociate this component from its owning namespace. This should only be done whwen there are no other references to the component, and you want to ensure it does not appear in the model. |
Set the owner of this component. If |
The source component from which this is a clone. Returns |
The set of instances cloned from this component. Returns None if no instances have been cloned from this. |
Virtual method to clear whatever attributes should be reset in a cloned component. This instance should be an instance created by copy.copy(). The implementation in this class clears the owner and dependency relations. Returns
|
Create a copy of this instance suitable for adoption by some other component. This is used for creating a locally-scoped declaration from a declaration in a named model or attribute group. |
Return the name of this component, as best it can be determined. For example, ModelGroup instances will be named by their ModelGroupDefinition, if available. Returns None if no name can be inferred. |
Return the name by which this component is known in the generated binding. Note: To support builtin datatypes, type definitions with an associated pythonSupport class initialize their binding name from the class name when the support association is created. As long as no built-in datatype conflicts with a language keyword, this should be fine. |
Return Type definitions have classes as their bindings. Global element declarations have instances of pyxb.binding.basis.element as their bindings. |
Override fields in this instance with those from the other. Post-extended; description in leaf implementation in ComplexTypeDefinition and SimpleTypeDefinition. |
|
_SchemaComponent_mixin__PrivateTransient
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Sep 9 14:08:52 2011 | http://epydoc.sourceforge.net |