# File lib/wsdl/soap/mappingRegistryCreatorSupport.rb, line 27 def dump_complextypedef(mpath, qname, typedef, as_element = nil, opt = {}) case typedef.compoundtype when :TYPE_STRUCT, :TYPE_EMPTY dump_complex_typemap(mpath, qname, typedef, as_element, opt) when :TYPE_ARRAY dump_array_typemap(mpath, qname, typedef, as_element, opt) when :TYPE_SIMPLE dump_simple_typemap(mpath, qname, typedef, as_element, opt) when :TYPE_MAP # mapped as a general Hash nil else raise RuntimeError.new( "unknown kind of complexContent: #{typedef.compoundtype}") end end