Class: XSD::All
- Inherits:
-
BaseObject
- Object
- BaseObject
- XSD::All
- Includes:
- ElementContainer
- Defined in:
- lib/xsd/objects/all.rb
Overview
The all element specifies that the child elements can appear in any order and that each child element can occur zero or one time. Parent elements: group, complexType, restriction (both simpleContent and complexContent), extension (both simpleContent and complexContent) www.w3schools.com/xml/el_all.asp
Constant Summary
Constants inherited from BaseObject
BaseObject::NO_ATTRIBUTES_CONTAINER, BaseObject::NO_ELEMENTS_CONTAINER, BaseObject::XML_SCHEMA
Instance Attribute Summary collapse
-
#max_occurs ⇒ Object
Optional.
-
#min_occurs ⇒ Object
Optional.
Attributes included from ElementContainer
Attributes inherited from BaseObject
Method Summary
Methods included from ElementContainer
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
#max_occurs ⇒ Object
Optional. Specifies the maximum number of times the element can occur. The value must be 1.
20 |
# File 'lib/xsd/objects/all.rb', line 20 property :maxOccurs, :integer, default: 1 |
#min_occurs ⇒ Object
Optional. Specifies the minimum number of times the element can occur. The value can be 0 or 1. Default value is 1
15 |
# File 'lib/xsd/objects/all.rb', line 15 property :minOccurs, :integer, default: 1 |