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
            

Commenting is here to help enhance the documentation. For example, code samples, or clarification of the documentation.

If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.

If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.

If you want to help improve the Ruby documentation, please visit Documenting-ruby.org.

blog comments powered by Disqus