Class SOAP::EncodingStyle::Handler
In: soap/encodingstyle/handler.rb
Parent: Object

Methods

Classes and Modules

Class SOAP::EncodingStyle::Handler::EncodingStyleError

Attributes

charset  [R] 
generate_explicit_type  [RW] 

Public Class methods

[Source]

# File soap/encodingstyle/handler.rb, line 32
    def each
      @@handlers.each do |key, value|
        yield(value)
      end
    end

[Source]

# File soap/encodingstyle/handler.rb, line 28
    def handler(uri)
      @@handlers[uri]
    end

[Source]

# File soap/encodingstyle/handler.rb, line 51
  def initialize(charset)
    @charset = charset
    @generate_explicit_type = true
    @decode_typemap = nil
  end

[Source]

# File soap/encodingstyle/handler.rb, line 24
    def uri
      self::Namespace
    end

Public Instance methods

[Source]

# File soap/encodingstyle/handler.rb, line 94
  def decode_epilogue
  end

[Source]

# File soap/encodingstyle/handler.rb, line 91
  def decode_prologue
  end
 decode interface.

Returns SOAP/OM data.

[Source]

# File soap/encodingstyle/handler.rb, line 79
  def decode_tag(ns, name, attrs, parent)
    raise NotImplementError.new('Method decode_tag must be defined in derived class.')
  end

[Source]

# File soap/encodingstyle/handler.rb, line 83
  def decode_tag_end(ns, name)
    raise NotImplementError.new('Method decode_tag_end must be defined in derived class.')
  end

[Source]

# File soap/encodingstyle/handler.rb, line 87
  def decode_text(ns, text)
    raise NotImplementError.new('Method decode_text must be defined in derived class.')
  end

[Source]

# File soap/encodingstyle/handler.rb, line 47
  def decode_typemap=(definedtypes)
    @decode_typemap = definedtypes
  end
 encode interface.

Returns a XML instance as a string.

[Source]

# File soap/encodingstyle/handler.rb, line 61
  def encode_data(generator, ns, data, parent)
    raise NotImplementError
  end

[Source]

# File soap/encodingstyle/handler.rb, line 65
  def encode_data_end(generator, ns, data, parent)
    raise NotImplementError
  end

[Source]

# File soap/encodingstyle/handler.rb, line 72
  def encode_epilogue
  end

[Source]

# File soap/encodingstyle/handler.rb, line 69
  def encode_prologue
  end

[Validate]

ruby-doc.org is hosted and maintained by James Britt and Happy Camper Studios, a Ruby application development company in Phoenix, Arizona. The site was created in 2002 as part of the Ruby Documentation Project to promote the Ruby language and to help other Ruby hackers.

Documentation content on ruby-doc.org is provided by remarkable members of the Ruby community.

For more information on the Ruby programming language, visit ruby-lang.org.

Want to help improve Ruby's API docs? See Ruby Documentation Guidelines.