xsd.LengthFacet
¶
The xsd.LengthFacet
provides for constraining a value space to values with a specific number of units of length, where units of length varies depending on base type definition.
Base class: xsd.AtomicValueFacet
-> xsd.Facet
-
class
xsd.
LengthFacet
¶ Proper instances of this class will be created within RaptorXML only, instantiation from script code will throw a
NotImplementedError
exception.
Attributes¶
-
xsd.Facet.
builtin
Returns True if this
xsd.Facet
value is predefined by the XML Schema specification.
-
xsd.Facet.
element
Returns the
xml.ElementInformationItem
representing thisxsd.Facet
schema 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.Facet
as string.
-
xsd.AtomicValueFacet.
value
Returns the typed value of the
xsd.Facet
.
Special methods¶
__bool__, __eq__, __ge__, __gt__, __le__, __lt__, __ne__