In Files

  • soap/encodingstyle/handler.rb

Class/Module Index [+]

Quicksearch

SOAP::EncodingStyle::Handler

Attributes

charset[R]
generate_explicit_type[RW]

Public Class Methods

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
            

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
            
each() click to toggle source
 
               # File soap/encodingstyle/handler.rb, line 32
def each
  @@handlers.each do |key, value|
    yield(value)
  end
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
            
handler(uri) click to toggle source
 
               # File soap/encodingstyle/handler.rb, line 28
def handler(uri)
  @@handlers[uri]
end
            
uri() click to toggle source
 
               # File soap/encodingstyle/handler.rb, line 24
def uri
  self::Namespace
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