In Files

  • soap/encodingstyle/literalHandler.rb

Class/Module Index [+]

Quicksearch

SOAP::EncodingStyle::LiteralHandler::SOAPUnknown

Public Class Methods

new(handler, elename, extraattr) click to toggle source
 
               # File soap/encodingstyle/literalHandler.rb, line 105
def initialize(handler, elename, extraattr)
  super()
  @handler = handler
  @elename = elename
  @extraattr = extraattr
end
            

Public Instance Methods

as_element() click to toggle source
 
               # File soap/encodingstyle/literalHandler.rb, line 112
def as_element
  o = SOAPElement.decode(@elename)
  o.parent = @parent
  o.extraattr.update(@extraattr)
  @handler.decode_parent(@parent, o)
  o
end
            
as_nil() click to toggle source
 
               # File soap/encodingstyle/literalHandler.rb, line 128
def as_nil
  o = SOAPNil.decode(@elename)
  o.parent = @parent
  o.extraattr.update(@extraattr)
  @handler.decode_parent(@parent, o)
  o
end
            
as_string() click to toggle source
 
               # File soap/encodingstyle/literalHandler.rb, line 120
def as_string
  o = SOAPString.decode(@elename)
  o.parent = @parent
  o.extraattr.update(@extraattr)
  @handler.decode_parent(@parent, o)
  o
end