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

In Files

  • soap/encodingstyle/handler.rb

Class/Module Index [+]

Quicksearch

SOAP::EncodingStyle::Handler

Attributes

charset[R]
generate_explicit_type[RW]

Public Class Methods

each() click to toggle source
 
               # File soap/encodingstyle/handler.rb, line 32
def each
  @@handlers.each do |key, value|
    yield(value)
  end
end
            
handler(uri) click to toggle source
 
               # File soap/encodingstyle/handler.rb, line 28
def handler(uri)
  @@handlers[uri]
end
            
new(charset) click to toggle source
 
               # File soap/encodingstyle/handler.rb, line 51
def initialize(charset)
  @charset = charset
  @generate_explicit_type = true
  @decode_typemap = nil
end
            
uri() click to toggle source
 
               # File soap/encodingstyle/handler.rb, line 24
def uri
  self::Namespace
end
            

Public Instance Methods

decode_epilogue() click to toggle source
 
               # File soap/encodingstyle/handler.rb, line 94
def decode_epilogue
end
            
decode_prologue() click to toggle source
 
               # File soap/encodingstyle/handler.rb, line 91
def decode_prologue
end
            
decode_tag(ns, name, attrs, parent) click to toggle source
decode interface.

Returns SOAP/OM data.

 
               # 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
            
decode_tag_end(ns, name) click to toggle 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
            
decode_text(ns, text) click to toggle 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
            
decode_typemap=(definedtypes) click to toggle source
 
               # File soap/encodingstyle/handler.rb, line 47
def decode_typemap=(definedtypes)
  @decode_typemap = definedtypes
end
            
encode_data(generator, ns, data, parent) click to toggle source
encode interface.

Returns a XML instance as a string.

 
               # File soap/encodingstyle/handler.rb, line 61
def encode_data(generator, ns, data, parent)
  raise NotImplementError
end
            
encode_data_end(generator, ns, data, parent) click to toggle source
 
               # File soap/encodingstyle/handler.rb, line 65
def encode_data_end(generator, ns, data, parent)
  raise NotImplementError
end
            
encode_epilogue() click to toggle source
 
               # File soap/encodingstyle/handler.rb, line 72
def encode_epilogue
end
            
encode_prologue() click to toggle source
 
               # File soap/encodingstyle/handler.rb, line 69
def encode_prologue
end