Extended maintenance of Ruby versions 1.8.7 and 1.9.2 ended on July 31, 2014. Read more

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