In Files

  • soap/encodingstyle/soapHandler.rb

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 soap/encodingstyle/soapHandler.rb, line 102
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 soap/encodingstyle/soapHandler.rb, line 133
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 soap/encodingstyle/soapHandler.rb, line 122
def as_string
  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 soap/encodingstyle/soapHandler.rb, line 111
def as_struct
  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