Class: SOAP::EncodingStyle::ASPDotNetHandler::SOAPUnknown

Inherits:
SOAPTemporalObject show all
Defined in:
lib/action_web_service/soap/encodingstyle/aspDotNetHandler.rb

Instance Attribute Summary

Attributes inherited from SOAPTemporalObject

#parent

Instance Method Summary collapse

Constructor Details

#initialize(handler, elename) ⇒ SOAPUnknown

Returns a new instance of SOAPUnknown.



86
87
88
89
90
# File 'lib/action_web_service/soap/encodingstyle/aspDotNetHandler.rb', line 86

def initialize(handler, elename)
  super()
  @handler = handler
  @elename = elename
end

Instance Method Details

#as_nilObject



107
108
109
110
111
112
# File 'lib/action_web_service/soap/encodingstyle/aspDotNetHandler.rb', line 107

def as_nil
  o = SOAPNil.decode(@elename)
  o.parent = @parent
  @handler.decode_parent(@parent, o)
  o
end

#as_stringObject



100
101
102
103
104
105
# File 'lib/action_web_service/soap/encodingstyle/aspDotNetHandler.rb', line 100

def as_string
  o = SOAPString.decode(@elename)
  o.parent = @parent
  @handler.decode_parent(@parent, o)
  o
end

#as_structObject



92
93
94
95
96
97
98
# File 'lib/action_web_service/soap/encodingstyle/aspDotNetHandler.rb', line 92

def as_struct
  o = SOAPStruct.decode(@elename, XSD::AnyTypeName)
  o.parent = @parent
  o.type.name = @name
  @handler.decode_parent(@parent, o)
  o
end