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

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
            

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