xsd.TotalDigitsFacet¶
The xsd.TotalDigitsFacet restricts the magnitude and arithmetic precision of values in the value spaces of decimal and datatypes derived from it.
If the value of the xsd.TotalDigitsFacet is t, then values are expressible using at most t digits in decimal notation.
Base class: xsd.AtomicValueFacet -> xsd.Facet
- class xsd.TotalDigitsFacet¶
Proper instances of this class will be created within RaptorXML only, instantiation from script code will throw a
NotImplementedErrorexception.
Attributes¶
- xsd.Facet.builtin
Returns True if this
xsd.Facetvalue is predefined by the XML Schema specification.
- xsd.Facet.element
Returns the xml.ElementInformationItem representing this
xsd.Facetschema component.
- xsd.AtomicValueFacet.fixed
If fixed is True, then types for which the current type is the base type definition cannot specify a different value for this
xsd.Facet.
- xsd.AtomicValueFacet.lexical_value
Returns the lexical value of the
xsd.Facetas string.
- xsd.AtomicValueFacet.value
Returns the typed value of the
xsd.Facet.
Special methods¶
__bool__, __eq__, __ge__, __gt__, __le__, __lt__, __ne__