Module: SOAP::Mapping::SchemaComplexTypeDefinition
- Includes:
- Enumerable
- Included in:
- SchemaChoiceDefinition, SchemaEmptyDefinition, SchemaSequenceDefinition
- Defined in:
- lib/soap/mapping/schemadefinition.rb
Instance Method Summary collapse
- #<<(ele) ⇒ Object
- #as_any? ⇒ Boolean
- #as_array? ⇒ Boolean
- #each ⇒ Object
- #find_element(qname) ⇒ Object
- #initialize ⇒ Object
- #is_concrete_definition ⇒ Object
- #size ⇒ Object
Instance Method Details
#<<(ele) ⇒ Object
51 52 53 |
# File 'lib/soap/mapping/schemadefinition.rb', line 51 def <<(ele) @content << ele end |
#as_any? ⇒ Boolean
65 66 67 |
# File 'lib/soap/mapping/schemadefinition.rb', line 65 def as_any? false end |
#as_array? ⇒ Boolean
69 70 71 |
# File 'lib/soap/mapping/schemadefinition.rb', line 69 def as_array? false end |
#each ⇒ Object
55 56 57 58 59 |
# File 'lib/soap/mapping/schemadefinition.rb', line 55 def each @content.each do |ele| yield ele end end |
#find_element(qname) ⇒ Object
73 74 75 |
# File 'lib/soap/mapping/schemadefinition.rb', line 73 def find_element(qname) @element_cache[qname] ||= search_element(qname) end |
#initialize ⇒ Object
42 43 44 45 |
# File 'lib/soap/mapping/schemadefinition.rb', line 42 def initialize @content = [] @element_cache = {} end |
#is_concrete_definition ⇒ Object
47 48 49 |
# File 'lib/soap/mapping/schemadefinition.rb', line 47 def is_concrete_definition true end |
#size ⇒ Object
61 62 63 |
# File 'lib/soap/mapping/schemadefinition.rb', line 61 def size @content.size end |