Parent

Included Modules

Files

Class Index [+]

Quicksearch

WSDL::SOAP::EncodedMappingRegistryCreator

Attributes

definitions[R]

Public Class Methods

new(definitions, name_creator, modulepath, defined_const) click to toggle source
    # File lib/wsdl/soap/encodedMappingRegistryCreator.rb, line 22
22:   def initialize(definitions, name_creator, modulepath, defined_const)
23:     @definitions = definitions
24:     @name_creator = name_creator
25:     @modulepath = modulepath
26:     @simpletypes = definitions.collect_simpletypes
27:     @simpletypes.uniq!
28:     @complextypes = definitions.collect_complextypes
29:     @complextypes.uniq!
30:     @varname = nil
31:     @defined_const = defined_const
32:   end

Public Instance Methods

dump(varname) click to toggle source
    # File lib/wsdl/soap/encodedMappingRegistryCreator.rb, line 34
34:   def dump(varname)
35:     @varname = varname
36:     result = ''
37:     str = dump_complextype
38:     unless str.empty?
39:       result << "\n" unless result.empty?
40:       result << str
41:     end
42:     str = dump_simpletype
43:     unless str.empty?
44:       result << "\n" unless result.empty?
45:       result << str
46:     end
47:     result
48:   end

Private Instance Methods

dump_complextype() click to toggle source
    # File lib/wsdl/soap/encodedMappingRegistryCreator.rb, line 52
52:   def dump_complextype
53:     @complextypes.collect { |type|
54:       unless type.abstract
55:         dump_with_inner {
56:           dump_complextypedef(@modulepath, type.name, type, nil, :encoded => true)
57:         }
58:       end
59:     }.compact.join("\n")
60:   end
dump_simpletype() click to toggle source
    # File lib/wsdl/soap/encodedMappingRegistryCreator.rb, line 62
62:   def dump_simpletype
63:     @simpletypes.collect { |type|
64:       dump_with_inner {
65:         dump_simpletypedef(@modulepath, type.name, type, nil, :encoded => true)
66:       }
67:     }.compact.join("\n")
68:   end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.