Class SOAP::EncodingStyle::SOAPHandler::SOAPUnknown
In: lib/soap/encodingstyle/soapHandler.rb
Parent: SOAPTemporalObject

Methods

as_nil   as_string   as_struct   new  

Attributes

definedtype  [RW] 
extraattr  [R] 
type  [R] 

Public Class methods

[Source]

     # File lib/soap/encodingstyle/soapHandler.rb, line 102
102:     def initialize(handler, elename, type, extraattr)
103:       super()
104:       @handler = handler
105:       @elename = elename
106:       @type = type
107:       @extraattr = extraattr
108:       @definedtype = nil
109:     end

Public Instance methods

[Source]

     # File lib/soap/encodingstyle/soapHandler.rb, line 133
133:     def as_nil
134:       o = SOAPNil.decode(@elename)
135:       o.id = @id
136:       o.root = @root
137:       o.parent = @parent
138:       o.position = @position
139:       o.extraattr.update(@extraattr)
140:       @handler.decode_parent(@parent, o)
141:       o
142:     end

[Source]

     # File lib/soap/encodingstyle/soapHandler.rb, line 122
122:     def as_string
123:       o = SOAPString.decode(@elename)
124:       o.id = @id
125:       o.root = @root
126:       o.parent = @parent
127:       o.position = @position
128:       o.extraattr.update(@extraattr)
129:       @handler.decode_parent(@parent, o)
130:       o
131:     end

[Source]

     # File lib/soap/encodingstyle/soapHandler.rb, line 111
111:     def as_struct
112:       o = SOAPStruct.decode(@elename, @type)
113:       o.id = @id
114:       o.root = @root
115:       o.parent = @parent
116:       o.position = @position
117:       o.extraattr.update(@extraattr)
118:       @handler.decode_parent(@parent, o)
119:       o
120:     end

[Validate]