Class: XSD::Annotation

Inherits:
BaseObject show all
Defined in:
lib/xsd/objects/annotation.rb

Overview

The annotation element is a top level element that specifies schema comments. The comments serve as inline documentation. Parent elements: Any element https://www.w3schools.com/xml/el_annotation.asp

Constant Summary

Constants inherited from BaseObject

BaseObject::NO_ATTRIBUTES_CONTAINER, BaseObject::NO_ELEMENTS_CONTAINER, BaseObject::XML_SCHEMA, BaseObject::XML_SCHEMA_NS

Instance Attribute Summary collapse

Attributes inherited from BaseObject

#id, #options

Method Summary

Methods inherited from BaseObject

#[], child, #collect_attributes, #collect_elements, #documentation, #documentation_for, #get_prefix, #initialize, #inspect, link, #map_child, #map_children, mapped_name, #namespaces, #node, #node_to_object, #nodes, #object_by_name, #parent, property, #reader, #schema, #schemas_for_namespace, #strip_prefix, to_underscore

Constructor Details

This class inherits a constructor from XSD::BaseObject

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class XSD::BaseObject

Instance Attribute Details

#appinfos ⇒ Object

Nested appinfos



12
# File 'lib/xsd/objects/annotation.rb', line 12

child :appinfos, [:appinfo]

#documentations ⇒ Object

Nested documentations



17
# File 'lib/xsd/objects/annotation.rb', line 17

child :documentations, [:documentation]