xsd.ValueConstraint¶
The xsd.ValueConstraint declares a default or fixed value for an xsd.AttributeDeclaration or an xsd.ElementDeclaration.
-
class
xsd.ValueConstraint¶ Proper instances of this class will be created within RaptorXML only, instantiation from script code will throw a
NotImplementedErrorexception.
Attributes¶
-
xsd.ValueConstraint.lexical_form¶ The string representation of the default/fixed value.
-
xsd.ValueConstraint.value¶ The actual default/fixed value.
-
xsd.ValueConstraint.variety¶ One of {
xsd.ValueConstraintVariety.DEFAULT,xsd.ValueConstraintVariety.FIXED}.
Special methods¶
__bool__, __eq__, __ge__, __gt__, __le__, __lt__, __ne__