Class: XSD::Annotation
- Inherits:
-
BaseObject
- Object
- BaseObject
- XSD::Annotation
- 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 www.w3schools.com/xml/el_annotation.asp
Constant Summary
Constants inherited from BaseObject
BaseObject::NO_ATTRIBUTES_CONTAINER, BaseObject::NO_ELEMENTS_CONTAINER, BaseObject::XML_SCHEMA
Instance Attribute Summary collapse
-
#appinfos ⇒ Object
Nested appinfos.
-
#documentations ⇒ Object
Nested documentations.
Attributes inherited from BaseObject
Method Summary
Methods inherited from BaseObject
#[], #collect_attributes, #collect_elements, #documentation, #documentation_for, #get_prefix, #initialize, #inspect, #map_child, #map_children, #namespaces, #node, #node_to_object, #nodes, #object_by_name, #parent, #reader, #schema, #schemas_for_namespace, #strip_prefix
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] |