Files

Class Index [+]

Quicksearch

SOAP::EncodingStyle::SOAPHandler::SOAPUnknown

Attributes

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

Public Class Methods

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

Public Instance Methods

as_nil() click to toggle source
     # File lib/soap/encodingstyle/soapHandler.rb, line 140
140:     def as_nil
141:       o = SOAPNil.decode(@elename)
142:       o.id = @id
143:       o.root = @root
144:       o.parent = @parent
145:       o.position = @position
146:       o.extraattr.update(@extraattr)
147:       @handler.decode_parent(@parent, o)
148:       o
149:     end
as_string() click to toggle source
     # File lib/soap/encodingstyle/soapHandler.rb, line 126
126:     def as_string
127:       if @extraattr[XSD::AttrNilName] == 'true'
128:         return as_nil
129:       end
130:       o = SOAPString.decode(@elename)
131:       o.id = @id
132:       o.root = @root
133:       o.parent = @parent
134:       o.position = @position
135:       o.extraattr.update(@extraattr)
136:       @handler.decode_parent(@parent, o)
137:       o
138:     end
as_struct() click to toggle source
     # File lib/soap/encodingstyle/soapHandler.rb, line 112
112:     def as_struct
113:       if @extraattr[XSD::AttrNilName] == 'true'
114:         return as_nil
115:       end
116:       o = SOAPStruct.decode(@elename, @type)
117:       o.id = @id
118:       o.root = @root
119:       o.parent = @parent
120:       o.position = @position
121:       o.extraattr.update(@extraattr)
122:       @handler.decode_parent(@parent, o)
123:       o
124:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.