SOAP::EncodingStyle::LiteralHandler::SOAPUnknown (Class)

In: soap/encodingstyle/literalHandler.rb
Parent: SOAPTemporalObject

Methods

as_nil   as_string   as_struct   new  

Public Class methods

[Source]

# File soap/encodingstyle/literalHandler.rb, line 95
    def initialize(handler, elename)
      super()
      @handler = handler
      @elename = elename
    end

Public Instance methods

[Source]

# File soap/encodingstyle/literalHandler.rb, line 115
    def as_nil
      o = SOAPNil.decode(@elename)
      o.parent = @parent
      @handler.decode_parent(@parent, o)
      o
    end

[Source]

# File soap/encodingstyle/literalHandler.rb, line 108
    def as_string
      o = SOAPString.decode(@elename)
      o.parent = @parent
      @handler.decode_parent(@parent, o)
      o
    end

[Source]

# File soap/encodingstyle/literalHandler.rb, line 101
    def as_struct
      o = SOAPStruct.decode(@elename, XSD::AnyTypeName)
      o.parent = @parent
      @handler.decode_parent(@parent, o)
      o
    end

[Validate]