SOAP::EncodingStyle::Handler (Class)

In: soap/encodingstyle/handler.rb
Parent: Object

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=(complextypes)
    @decode_typemap = complextypes
  end
 encode interface.

Returns a XML instance as a string.

[Source]

# File soap/encodingstyle/handler.rb, line 61
  def encode_data(generator, ns, qualified, data, parent)
    raise NotImplementError.new('Method encode_data must be defined in derived class.')
  end

[Source]

# File soap/encodingstyle/handler.rb, line 65
  def encode_data_end(generator, ns, qualified, data, parent)
    raise NotImplementError.new('Method encode_data must be defined in derived class.')
  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]