Home | Trees | Indices | Help |
|
---|
|
object --+ | cscRoot --+ | Facet --+ | ConstrainingFacet --+ | object --+ | | | cscRoot --+ | | | _CollectionFacet_mixin --+ | object --+ | | | cscRoot --+ | | | _LateDatatype_mixin --+ | CF_enumeration
Capture a constraint that restricts valid values to a fixed set.
A STD that has an enumeration restriction should mix-in pyxb.binding.basis.enumeration_mixin, and should have a
class variable titled _CF_enumeration
that is an instance of
this class.
"unicode" refers to the Unicode string by which the value is represented in XML.
"tag" refers to the Python member reference associated with the enumeration. The value is derived from the unicode value of the enumeration element and an optional prefix that identifies the owning simple type when the tag is promoted to module-level visibility.
"value" refers to the Python value held in the tag
See http://www.w3.org/TR/xmlschema-2/#rf-enumeration
|
|||
_CollectionFacet_itemType This class represents individual values that appear within a CF_enumeration collection. |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from Inherited from |
|
|||
_Name =
hash(x) |
|||
_LateDatatypeBindsSuperclass = False The class variable that indicates that the Subclasses must override this variable with a value of True or
False .
|
|||
__tagToElement = None hash(x) |
|||
__valueToElement = None hash(x) |
|||
__unicodeToElement = None hash(x) |
|||
__enumPrefix = None hash(x) |
|||
Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
Create a facet instance, initializing it from the keyword parameters.
|
|
Return the _EnumerationElement instance that has the given value.
|
Return the enumeration value corresponding to the given unicode string. If ustr is not a valid option for this enumeration, return None. |
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Nov 7 19:27:34 2012 | http://epydoc.sourceforge.net |