Class: XSD::Group
- Inherits:
-
BaseObject
- Object
- BaseObject
- XSD::Group
- Includes:
- MinMaxOccurs, Named, Referenced
- Defined in:
- lib/xsd/objects/group.rb
Overview
The group element is used to define a group of elements to be used in complex type definitions. Parent elements: schema, choice, sequence, complexType, restriction (both simpleContent and complexContent), extension (both simpleContent and complexContent) www.w3schools.com/xml/el_group.asp
Constant Summary
Constants inherited from BaseObject
BaseObject::NO_ATTRIBUTES_CONTAINER, BaseObject::NO_ELEMENTS_CONTAINER, BaseObject::XML_SCHEMA
Instance Attribute Summary collapse
-
#all ⇒ Object
Nested all object.
-
#choice ⇒ Object
Nested choice object.
-
#name ⇒ Object
Optional.
-
#sequence ⇒ Object
Nested sequence object.
Attributes included from Referenced
Attributes included from MinMaxOccurs
Attributes inherited from BaseObject
Method Summary
Methods included from Named
Methods included from Referenced
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
#all ⇒ Object
Nested all object
21 |
# File 'lib/xsd/objects/group.rb', line 21 child :all, :all |
#choice ⇒ Object
Nested choice object
26 |
# File 'lib/xsd/objects/group.rb', line 26 child :choice, :choice |
#name ⇒ Object
Optional. Specifies a name for the group. This attribute is used only when the schema element is the parent of this group element. Name and ref attributes cannot both be present
16 |
# File 'lib/xsd/objects/group.rb', line 16 property :name, :string |
#sequence ⇒ Object
Nested sequence object
31 |
# File 'lib/xsd/objects/group.rb', line 31 child :sequence, :sequence |