Class: XSD::Extension

Inherits:
BaseObject show all
Includes:
AttributeContainer, Based
Defined in:
lib/xsd/objects/extension.rb

Overview

The extension element extends an existing simpleType or complexType element. Parent elements: simpleContent, complexContent www.w3schools.com/xml/el_extension.asp

Constant Summary collapse

TYPE_PROPERTY =
nil

Constants inherited from BaseObject

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

Instance Attribute Summary collapse

Attributes included from AttributeContainer

#attribute_groups, #attributes

Attributes included from Based

#base, #base_complex_type, #base_simple_type

Attributes inherited from BaseObject

#id, #options

Method Summary

Methods included from AttributeContainer

included

Methods included from Based

#collect_attributes, #collect_elements, included

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

#allObject

Nested all

Returns:

  • All



21
# File 'lib/xsd/objects/extension.rb', line 21

child :all, :all

#choiceObject

Nested choice

Returns:

  • Choice



26
# File 'lib/xsd/objects/extension.rb', line 26

child :choice, :choice

#groupObject

Nested group

Returns:

  • Group



16
# File 'lib/xsd/objects/extension.rb', line 16

child :group, :group

#sequenceObject

Nested sequence

Returns:

  • Sequence



31
# File 'lib/xsd/objects/extension.rb', line 31

child :sequence, :sequence