# File lib/soap/mapping/schemadefinition.rb, line 51 51: def <<(ele) 52: @content << ele 53: end
# File lib/soap/mapping/schemadefinition.rb, line 65 65: def as_any? 66: false 67: end
# File lib/soap/mapping/schemadefinition.rb, line 69 69: def as_array? 70: false 71: end
# File lib/soap/mapping/schemadefinition.rb, line 55 55: def each 56: @content.each do |ele| 57: yield ele 58: end 59: end
# File lib/soap/mapping/schemadefinition.rb, line 73 73: def find_element(qname) 74: @element_cache[qname] ||= search_element(qname) 75: end
# File lib/soap/mapping/schemadefinition.rb, line 79 79: def search_element(qname) 80: each do |ele| 81: if ele.respond_to?(:find_element) 82: found = ele.find_element(qname) 83: return found if found 84: else 85: # relaxed match 86: if ele.elename == qname or 87: (qname.namespace.nil? and ele.elename.name == qname.name) 88: return ele 89: end 90: end 91: end 92: nil 93: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.