Class: XSD::List

Inherits:
BaseObject show all
Includes:
SimpleTyped
Defined in:
lib/xsd/objects/list.rb

Overview

The list element defines a simple type element as a list of values of a specified data type. Parent elements: simpleType www.w3schools.com/xml/el_list.asp

Constant Summary collapse

TYPE_PROPERTY =
:item_type

Constants inherited from BaseObject

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

Instance Attribute Summary collapse

Attributes included from SimpleTyped

#simple_type

Attributes inherited from BaseObject

#id, #options

Method Summary

Methods included from SimpleTyped

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

#item_typeObject

Specifies the name of a built-in data type or simpleType element defined in this or another schema. This attribute is not allowed if the content contains a simpleType element, otherwise it is required

Returns:

  • String, nil



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

property :itemType, :string