xsd.EnumerationFacet

The xsd.EnumerationFacet constrains the value space to a specified set of values.

Base class: xsd.Facet

class xsd.EnumerationFacet

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 this xsd.Facet schema component.

xsd.EnumerationFacet.value

Returns a sequence of value spaces.

Special methods

__bool__, __eq__, __ge__, __gt__, __le__, __lt__, __ne__