| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
cscRoot --+
|
utils.utility.Locatable_mixin --+
|
basis._TypeBinding_mixin --+
|
object --+ |
| |
utils.utility._DeconflictSymbols_mixin --+
|
object --+ |
| |
cscRoot --+ |
| |
basis._DynamicCreate_mixin --+
|
basis.simpleTypeDefinition --+
|
object --+ |
| |
decimal.Decimal --+
|
object --+ |
| |
cscRoot --+ |
| |
basis._RepresentAsXsdLiteral_mixin --+
|
decimal
XMLSchema datatype decimal.
This class uses Python's decimal.Decimal
class to support (by default) 28 significant digits. Only normal and
zero values are valid; this means NaN and
Infinity may be created during calculations, but cannot be
expressed in XML documents.
|
|||
|
_XsdBaseType XMLSchema datatype anySimpleType. |
|||
|
|||
|
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
|
|||
|
|||
_ExpandedName = pyxb.namespace.XMLSchema.createExpandedName('dThe expanded name of the component. |
|||
_CF_enumeration = <pyxb.binding.facets.CF_enumeration object a
|
|||
_CF_fractionDigits = <pyxb.binding.facets.CF_fractionDigits ob
|
|||
_CF_maxExclusive = <pyxb.binding.facets.CF_maxExclusive object
|
|||
_CF_maxInclusive = <pyxb.binding.facets.CF_maxInclusive object
|
|||
_CF_minExclusive = <pyxb.binding.facets.CF_minExclusive object
|
|||
_CF_minInclusive = <pyxb.binding.facets.CF_minInclusive object
|
|||
_CF_pattern = <pyxb.binding.facets.CF_pattern object at 0x19b1
|
|||
_CF_totalDigits = <pyxb.binding.facets.CF_totalDigits object a
|
|||
_CF_whiteSpace = <pyxb.binding.facets.CF_whiteSpace object at
|
|||
__SimpleTypeDefinition = <pyxb.xmlschema.structures.SimpleType
|
|||
_httpwww_w3_org2001XMLSchema_decimal_FacetMap =
|
|||
|
Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from Inherited from Inherited from |
|||
|
|||
Create a decimal point instance. >>> Decimal('3.14') # string input Decimal('3.14') >>> Decimal((0, (3, 1, 4), -2)) # tuple (sign, digit_tuple, exponent) Decimal('3.14') >>> Decimal(314) # int or long Decimal('314') >>> Decimal(Decimal(314)) # another decimal instance Decimal('314') >>> Decimal(' 3.14 \n') # leading and trailing whitespace okay Decimal('3.14')
|
NB: Invoking this on a value that is a list will, if necessary, replace the members of the list with new values that are of the correct item type. This is permitted because only with lists is it possible to bypass the normal content validation (by invoking append/extend on the list instance).
|
Convert from a python value to a string usable in an XML document. This should be implemented in the subclass.
|
|
|||
_ExpandedNameThe expanded name of the component.
|
_CF_enumeration
|
_CF_fractionDigits
|
_CF_maxExclusive
|
_CF_maxInclusive
|
_CF_minExclusive
|
_CF_minInclusive
|
_CF_pattern
|
_CF_totalDigits
|
_CF_whiteSpace
|
__SimpleTypeDefinition
|
_httpwww_w3_org2001XMLSchema_decimal_FacetMap
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Sun Oct 19 06:24:41 2014 | http://epydoc.sourceforge.net |