Class: XSD::Sequence
- Inherits:
-
BaseObject
- Object
- BaseObject
- XSD::Sequence
- Includes:
- ElementContainer, MinMaxOccurs
- Defined in:
- lib/xsd/objects/sequence.rb
Overview
The sequence element specifies that the child elements must appear in a sequence. Each child element can occur from 0 to any number of times. Parent elements: group, choice, sequence, complexType, restriction (both simpleContent and complexContent), extension (both simpleContent and complexContent) www.w3schools.com/xml/el_sequence.asp
Constant Summary
Constants inherited from BaseObject
BaseObject::NO_ATTRIBUTES_CONTAINER, BaseObject::NO_ELEMENTS_CONTAINER, BaseObject::XML_SCHEMA
Instance Attribute Summary collapse
-
#anys ⇒ Object
Nested anys.
-
#choices ⇒ Object
Nested choices.
-
#groups ⇒ Object
Nested groups.
-
#sequences ⇒ Object
Nested sequences.
Attributes included from ElementContainer
Attributes included from MinMaxOccurs
Attributes inherited from BaseObject
Method Summary
Methods included from ElementContainer
Methods included from MinMaxOccurs
#computed_max_occurs, #computed_min_occurs, included, #multiple?, #multiple_allowed?
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
#anys ⇒ Object
Nested anys
31 |
# File 'lib/xsd/objects/sequence.rb', line 31 child :anys, [:any] |
#choices ⇒ Object
Nested choices
21 |
# File 'lib/xsd/objects/sequence.rb', line 21 child :choices, [:choice] |
#groups ⇒ Object
Nested groups
16 |
# File 'lib/xsd/objects/sequence.rb', line 16 child :groups, [:group] |
#sequences ⇒ Object
Nested sequences
26 |
# File 'lib/xsd/objects/sequence.rb', line 26 child :sequences, [:sequence] |