| Class | SOAP::EncodingStyle::SOAPHandler::SOAPUnknown |
| In: |
lib/soap/encodingstyle/soapHandler.rb
|
| Parent: | SOAPTemporalObject |
| definedtype | [RW] | |
| extraattr | [R] | |
| type | [R] |
# 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
# 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
# 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