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 --+ | object --+ | | | cscRoot --+ | | | utils.utility.PrivateTransient_mixin --+ | | | object --+ | | | | | cscRoot --+ | | | _NamedComponent_mixin --+ | object --+ | | | cscRoot --+ | | | namespace.resolution._Resolvable_mixin --+ | object --+ | | | cscRoot --+ | | | _Annotated_mixin --+ | SimpleTypeDefinition
An XMLSchema Simple Type Definition component.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
frozenset
|
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
SimpleTypeDefinition |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
Inherited from |
|
|||
__baseTypeDefinition = None hash(x) |
|||
__memberTypes = None hash(x) |
|||
__itemTypeAttribute = None hash(x) |
|||
__baseAttribute = None hash(x) |
|||
__memberTypesAttribute = None hash(x) |
|||
__localFacets = None hash(x) |
|||
__facets = None hash(x) |
|||
__fundamentalFacets = None hash(x) |
|||
STD_empty = 0
|
|||
STD_extension = 1
|
|||
STD_list = 2
|
|||
STD_restriction = 4
|
|||
STD_union = 8
|
|||
_STD_Map =
|
|||
__final = 0
|
|||
VARIETY_absent = 1
|
|||
VARIETY_atomic = 2
|
|||
VARIETY_list = 3
|
|||
VARIETY_union = 4
|
|||
_DA_empty =
|
|||
_DA_restriction =
|
|||
_DA_list =
|
|||
_DA_union =
|
|||
__derivationAlternative = None hash(x) |
|||
__variety = None hash(x) |
|||
__primitiveTypeDefinition = None hash(x) |
|||
__itemTypeDefinition = None hash(x) |
|||
__memberTypeDefinitions = None hash(x) |
|||
__domNode = None hash(x) |
|||
__isBuiltin = False
|
|||
__SimpleUrTypeDefinition = None
|
|||
__localMemberTypes = None hash(x) |
|||
__pythonSupport = None hash(x) |
|||
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
Implement base class method. This STD depends on its baseTypeDefinition, unless its variety is absent. Other dependencies are on item, primitive, or member type definitions.
|
Initialize portions of a component.
|
Extend base class unpickle support to retain link between this instance and the Python class that it describes. This is because the pythonSupport value is a class reference, not an instance reference, so it wasn't deserialized, and its class member link was never set.
|
str(x)
|
Override fields in this instance with those from the other. This method is invoked only by Schema._addNamedComponent, and then only when a built-in type collides with a schema-defined type. Material like facets is not (currently) held in the built-in copy, so the DOM information is copied over to the built-in STD, which is subsequently re-resolved. Returns self.
|
Create the SimpleTypeDefinition instance that approximates the simple ur-type. See section 3.14.7. |
Create STD instances for built-in types. For example, xml:space is a restriction of NCName; xml:lang is a union. |
Create a primitive simple type in the target namespace. This is mainly used to pre-load standard built-in primitive types, such as those defined by XMLSchema Datatypes. You can use it for your own schemas as well, if you have special types that require explicit support to for Pythonic conversion. All parameters are required and must be non-None. |
Create a derived simple type in the target namespace. This is used to pre-load standard built-in derived types. You can use it for your own schemas as well, if you have special types that require explicit support to for Pythonic conversion. |
Create a list simple type in the target namespace. This is used to preload standard built-in list types. You can use it for your own schemas as well, if you have special types that require explicit support to for Pythonic conversion; but note that such support is identified by the item_std. |
(Placeholder) Create a union simple type in the target namespace. This function has not been implemented. |
Create facets for varieties that can take facets that are undeclared. This means unions, which per section 4.1.2.3 of http://www.w3.org/TR/xmlschema-2/ can have enumeration or pattern restrictions. |
Identify the facets and properties for this stype. This method simply identifies the facets that apply to this specific type, and records property values. Only explicitly-associated facets and properties are stored; others from base types will also affect this type. The information is taken from the applicationInformation children of the definition's annotation node, if any. If there is no support for the XMLSchema_hasFacetAndProperty namespace, this is a no-op. Upon return, self.__facets is a map from the class for an associated fact to None, and self.__fundamentalFacets is a frozenset of instances of FundamentalFacet. The return value is self. |
Create a new simple type with this as its base. The type is owned by the provided owner, and may have facet restrictions defined by the body.
|
Indicate whether this simple type is fully defined. Type resolution for simple types means that the corresponding schema component fields have been set. Specifically, that means variety, baseTypeDefinition, and the appropriate additional fields depending on variety. See _resolve() for more information. |
Attempt to resolve the type. Type resolution for simple types means that the corresponding schema component fields have been set. Specifically, that means variety, baseTypeDefinition, and the appropriate additional fields depending on variety. All built-in STDs are resolved upon creation. Schema-defined STDs are held unresolved until the schema has been completely read, so that references to later schema-defined STDs can be resolved. Resolution is performed after the entire schema has been scanned and STD instances created for all topLevelSimpleTypes. If a built-in STD is also defined in a schema (which it should be for XMLSchema), the built-in STD is kept, with the schema-related information copied over from the matching schema-defined STD. The former then replaces the latter in the list of STDs to be resolved. Types defined by restriction have the same variety as the type they restrict. If a simple type restriction depends on an unresolved type, this method simply queues it for resolution in a later pass and returns.
|
|
_STD_Map
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Apr 17 03:13:55 2013 | http://epydoc.sourceforge.net |