# File soap/encodingstyle/handler.rb, line 32
def each
@@handlers.each do |key, value|
yield(value)
end
end
# File soap/encodingstyle/handler.rb, line 28
def handler(uri)
@@handlers[uri]
end
# File soap/encodingstyle/handler.rb, line 94
def decode_epilogue
end
# File soap/encodingstyle/handler.rb, line 91
def decode_prologue
end
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
# 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
# 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
# File soap/encodingstyle/handler.rb, line 47
def decode_typemap=(definedtypes)
@decode_typemap = definedtypes
end
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
# File soap/encodingstyle/handler.rb, line 65
def encode_data_end(generator, ns, data, parent)
raise NotImplementError
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 see Improve the docs, or visit Documenting-ruby.org.