Package pyxb :: Package binding :: Module datatypes :: Class decimal
[hide private]
[frames] | no frames]

Class decimal

source code

                    object --+                
                             |                
                       cscRoot --+            
                                 |            
     utils.utility.Locatable_mixin --+        
                                     |        
              basis._TypeBinding_mixin --+    
                                         |    
                            object --+   |    
                                     |   |    
utils.utility._DeconflictSymbols_mixin --+    
                                         |    
                        object --+       |    
                                 |       |    
                           cscRoot --+   |    
                                     |   |    
            basis._DynamicCreate_mixin --+    
                                         |    
                basis.simpleTypeDefinition --+
                                             |
                                object --+   |
                                         |   |
                                     float --+
                                             |
                                            decimal

XMLSchema datatype decimal.


To Do: The Python base type for this is wrong. Consider http://code.google.com/p/mpmath/.

Nested Classes [hide private]
  _XsdBaseType
XMLSchema datatype anySimpleType.
Instance Methods [hide private]

Inherited from basis.simpleTypeDefinition: __init__, pythonLiteral, xsdConstraintsOK, xsdLiteral, xsdValueLength

Inherited from basis._TypeBinding_mixin: __setattr__, toDOM, toxml, validateBinding

Inherited from float: __abs__, __add__, __coerce__, __div__, __divmod__, __eq__, __float__, __floordiv__, __format__, __ge__, __getattribute__, __getformat__, __getnewargs__, __gt__, __hash__, __int__, __le__, __long__, __lt__, __mod__, __mul__, __ne__, __neg__, __nonzero__, __pos__, __pow__, __radd__, __rdiv__, __rdivmod__, __repr__, __rfloordiv__, __rmod__, __rmul__, __rpow__, __rsub__, __rtruediv__, __setformat__, __str__, __sub__, __truediv__, __trunc__, as_integer_ratio, conjugate, fromhex, hex, is_integer

Inherited from object: __delattr__, __reduce__, __reduce_ex__, __sizeof__, __subclasshook__

Class Methods [hide private]
 
XsdLiteral(cls, value)
Convert from a python value to a string usable in an XML document.
source code

Inherited from basis.simpleTypeDefinition: PythonLiteral, SimpleTypeDefinition, XsdConstraintsOK, XsdSuperType, XsdValueLength

Inherited from basis._TypeBinding_mixin: Factory

Static Methods [hide private]

Inherited from basis.simpleTypeDefinition: __new__

Class Variables [hide private]
  _ExpandedName = pyxb.namespace.XMLSchema.createExpandedName('d...
The 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 0x2106...
  _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 = {<class 'pyxb....

Inherited from basis.simpleTypeDefinition (private): _ReservedSymbols

Inherited from basis._TypeBinding_mixin: _validationConfig_

Properties [hide private]

Inherited from basis._TypeBinding_mixin (private): _validationConfig

Inherited from float: imag, real

Inherited from object: __class__

Method Details [hide private]

XsdLiteral(cls, value)
Class Method

source code 

Convert from a python value to a string usable in an XML document.

This should be implemented in the subclass.

Overrides: basis.simpleTypeDefinition.XsdLiteral
(inherited documentation)

Class Variable Details [hide private]

_ExpandedName

The expanded name of the component.

Value:
pyxb.namespace.XMLSchema.createExpandedName('decimal')

_CF_enumeration

Value:
<pyxb.binding.facets.CF_enumeration object at 0x2106f10>

_CF_fractionDigits

Value:
<pyxb.binding.facets.CF_fractionDigits object at 0x2106dd0>

_CF_maxExclusive

Value:
<pyxb.binding.facets.CF_maxExclusive object at 0x2106fd0>

_CF_maxInclusive

Value:
<pyxb.binding.facets.CF_maxInclusive object at 0x2106e10>

_CF_minExclusive

Value:
<pyxb.binding.facets.CF_minExclusive object at 0x2106e50>

_CF_minInclusive

Value:
<pyxb.binding.facets.CF_minInclusive object at 0x2106f50>

_CF_pattern

Value:
<pyxb.binding.facets.CF_pattern object at 0x2106f90>

_CF_totalDigits

Value:
<pyxb.binding.facets.CF_totalDigits object at 0x2106ed0>

_CF_whiteSpace

Value:
<pyxb.binding.facets.CF_whiteSpace object at 0x2106e90>

__SimpleTypeDefinition

Value:
<pyxb.xmlschema.structures.SimpleTypeDefinition object at 0x1ef9550>

_httpwww_w3_org2001XMLSchema_decimal_FacetMap

Value:
{<class 'pyxb.binding.facets.CF_enumeration'>: <pyxb.binding.facets.CF\
_enumeration object at 0x2106f10>,
 <class 'pyxb.binding.facets.CF_totalDigits'>: <pyxb.binding.facets.CF\
_totalDigits object at 0x2106ed0>,
 <class 'pyxb.binding.facets.CF_fractionDigits'>: <pyxb.binding.facets\
.CF_fractionDigits object at 0x2106dd0>,
 <class 'pyxb.binding.facets.CF_pattern'>: <pyxb.binding.facets.CF_pat\
tern object at 0x2106f90>,
...