xsd.Annotation¶
The xsd.Annotation class represents human- and machine-targeted annotations of schema components.
Base class: xsd.Component
-
class
xsd.Annotation¶ Proper instances of this class will be created within RaptorXML only, instantiation from script code will throw a
NotImplementedErrorexception.
Attributes¶
-
xsd.Annotation.application_information¶ Returns an iterator of
xml.ElementInformationItemobjects intended for automatic processing.
-
xsd.Component.element Returns the
xml.ElementInformationItemrepresenting this schema component.
-
xsd.Component.id Returns the value of the ‘id’ attribute as a string, or None if the schema component’s XML element doesn’t have an ‘id’ attribute.
-
xsd.Annotation.user_information¶ Returns an iterator of
xml.ElementInformationItemobjects intended for human consumption.
Special methods¶
__bool__, __eq__, __ge__, __gt__, __le__, __lt__, __ne__