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
52 53 54 |
# File 'lib/soap/mapping/schemadefinition.rb', line 52 def <<(ele) @content << ele end |
#as_any? ⇒ Boolean
66 67 68 |
# File 'lib/soap/mapping/schemadefinition.rb', line 66 def as_any? false end |
#as_array? ⇒ Boolean
70 71 72 |
# File 'lib/soap/mapping/schemadefinition.rb', line 70 def as_array? false end |
#each ⇒ Object
56 57 58 59 60 |
# File 'lib/soap/mapping/schemadefinition.rb', line 56 def each @content.each do |ele| yield ele end end |
#find_element(qname) ⇒ Object
74 75 76 |
# File 'lib/soap/mapping/schemadefinition.rb', line 74 def find_element(qname) @element_cache[qname] ||= search_element(qname) end |
#initialize ⇒ Object
43 44 45 46 |
# File 'lib/soap/mapping/schemadefinition.rb', line 43 def initialize @content = [] @element_cache = {} end |
#is_concrete_definition ⇒ Object
48 49 50 |
# File 'lib/soap/mapping/schemadefinition.rb', line 48 def is_concrete_definition true end |
#size ⇒ Object
62 63 64 |
# File 'lib/soap/mapping/schemadefinition.rb', line 62 def size @content.size end |