Files

Class/Module Index [+]

Quicksearch

SOAP::EncodingStyle::SOAPHandler::SOAPUnknown

Attributes

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

Public Class Methods

new(handler, elename, type, extraattr) click to toggle source
# File lib/soap/encodingstyle/soapHandler.rb, line 103
def initialize(handler, elename, type, extraattr)
  super()
  @handler = handler
  @elename = elename
  @type = type
  @extraattr = extraattr
  @definedtype = nil
end

Public Instance Methods

as_nil() click to toggle source
# File lib/soap/encodingstyle/soapHandler.rb, line 140
def as_nil
  o = SOAPNil.decode(@elename)
  o.id = @id
  o.root = @root
  o.parent = @parent
  o.position = @position
  o.extraattr.update(@extraattr)
  @handler.decode_parent(@parent, o)
  o
end
as_string() click to toggle source
# File lib/soap/encodingstyle/soapHandler.rb, line 126
def as_string
  if @extraattr[XSD::AttrNilName] == 'true'
    return as_nil
  end
  o = SOAPString.decode(@elename)
  o.id = @id
  o.root = @root
  o.parent = @parent
  o.position = @position
  o.extraattr.update(@extraattr)
  @handler.decode_parent(@parent, o)
  o
end
as_struct() click to toggle source
# File lib/soap/encodingstyle/soapHandler.rb, line 112
def as_struct
  if @extraattr[XSD::AttrNilName] == 'true'
    return as_nil
  end
  o = SOAPStruct.decode(@elename, @type)
  o.id = @id
  o.root = @root
  o.parent = @parent
  o.position = @position
  o.extraattr.update(@extraattr)
  @handler.decode_parent(@parent, o)
  o
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.