xsd.Scope
¶
The Scope of an xsd.AttributeDeclaration
or an xsd.ElementDeclaration
.
- class xsd.Scope¶
Proper instances of this class will be created within RaptorXML only, instantiation from script code will throw a
NotImplementedError
exception.
Attributes¶
- xsd.Scope.parent¶
Returns the parent
xsd.Component
of the declaration, or None if variety isxsd.ScopeVariety.GLOBAL
.
- xsd.Scope.variety¶
Returns One of {
xsd.ScopeVariety.GLOBAL
,xsd.ScopeVariety.LOCAL
}.
Special methods¶
__bool__, __eq__, __ge__, __gt__, __le__, __lt__, __ne__