Files

Class Index [+]

Quicksearch

SOAP::Header::MappingHandler

Attributes

registry[RW]

Public Class Methods

new(elename, registry = nil) click to toggle source
    # File lib/soap/header/mappinghandler.rb, line 20
20:   def initialize(elename, registry = nil)
21:     super(elename)
22:     @registry = registry
23:   end

Public Instance Methods

on_inbound(header, mustunderstand) click to toggle source
    # File lib/soap/header/mappinghandler.rb, line 39
39:   def on_inbound(header, mustunderstand)
40:     obj = SOAP::Mapping.soap2obj(header, @registry)
41:     on_mapping_inbound(obj, mustunderstand)
42:   end
on_mapping_inbound(obj, mustunderstand) click to toggle source

Given header is a mapped Object

    # File lib/soap/header/mappinghandler.rb, line 31
31:   def on_mapping_inbound(obj, mustunderstand)
32:   end
on_mapping_outbound() click to toggle source

Should return an Object for mapping

    # File lib/soap/header/mappinghandler.rb, line 26
26:   def on_mapping_outbound
27:     nil
28:   end
on_outbound() click to toggle source
    # File lib/soap/header/mappinghandler.rb, line 34
34:   def on_outbound
35:     obj = on_mapping_outbound
36:     obj ? SOAP::Mapping.obj2soap(obj, @registry, @elename) : nil
37:   end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.