xsd.NotationDeclaration
¶
xsd.NotationDeclaration
objects reconstruct XML NOTATION declarations.
They do not participate in validation as such. They are referenced in the course of
validating strings as members of the NOTATION xsd.SimpleTypeDefinition
type. An xml.ElementInformationItem
or xml.AttributeInformationItem with its governing type definition or its validating type derived from
the NOTATION SimpleTypeDefinition is valid only if its value was among the enumerations of such
simple type. As a consequence such a value is required to be the name of a xsd.NotationDeclaration
.
Base class: xsd.Component
- class xsd.NotationDeclaration¶
Proper instances of this class will be created within RaptorXML only, instantiation from script code will throw a
NotImplementedError
exception.
Attributes¶
- xsd.NotationDeclaration.annotations¶
Returns an iterator of
xsd.Annotation
components.
- xsd.Component.element
Returns the xml.ElementInformationItem representing 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.NotationDeclaration.name¶
Returns the name of the
xsd.NotationDeclaration
.
- xsd.NotationDeclaration.public_identifier¶
Returns the public identifier of the
xsd.NotationDeclaration
. May be None if system_identifier is not None.
- xsd.NotationDeclaration.qname¶
Returns a xml.QName object representing the name and target_namespace pair of the component.
- xsd.NotationDeclaration.system_identifier¶
Retunrs the system identifier of the
xsd.NotationDeclaration
. May be None if public_identifier is not None.
- xsd.NotationDeclaration.target_namespace¶
Returns the target namespace of the
xsd.NotationDeclaration
.
Special methods¶
__bool__, __eq__, __ge__, __gt__, __le__, __lt__, __ne__