Method deprecated or moved
This method is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) is shown here.
_soap2obj(node, klass = nil)private
Might return nil as a mapping result.
# File lib/soap/mapping/registry.rb, line 473
def _soap2obj(node, klass = nil)
if node.extraattr.key?(RubyTypeName)
conv, obj = @rubytype_factory.soap2obj(nil, node, nil, self)
return obj if conv
else
conv, obj = @map.soap2obj(node, klass)
return obj if conv
conv, obj = @default_factory.soap2obj(nil, node, nil, self)
return obj if conv
end
if @excn_handler_soap2obj
begin
return @excn_handler_soap2obj.call(node) { |yield_node|
Mapping._soap2obj(yield_node, self)
}
rescue Exception
end
end
raise MappingError.new("Cannot map #{ node.type.name } to Ruby object.")
end Related methods
- Instance methods
- add
- find_mapped_obj_class
- find_mapped_soap_class
- obj2soap
- set
- soap2obj
- Class methods
- new
- Private methods
-
_obj2soap -
_soap2obj -
addextend2obj -
addextend2obj -
addextend2soap -
addiv2obj