Parent

Methods

Files

Class/Module Index [+]

Quicksearch

WSDL::SOAP::LiteralMappingRegistryCreator

Public Class Methods

new(definitions, name_creator, modulepath, defined_const) click to toggle source
# File lib/wsdl/soap/literalMappingRegistryCreator.rb, line 20
def initialize(definitions, name_creator, modulepath, defined_const)
  @definitions = definitions
  @name_creator = name_creator
  @modulepath = modulepath
  @elements = definitions.collect_elements
  @elements.uniq!
  @attributes = definitions.collect_attributes
  @attributes.uniq!
  @simpletypes = definitions.collect_simpletypes
  @simpletypes.uniq!
  @complextypes = definitions.collect_complextypes
  @complextypes.uniq!
  @varname = nil
  @defined_const = defined_const
end

Public Instance Methods

dump(varname) click to toggle source
# File lib/wsdl/soap/literalMappingRegistryCreator.rb, line 36
def dump(varname)
  @varname = varname
  result = ''
  str = dump_complextype
  unless str.empty?
    result << "\n" unless result.empty?
    result << str
  end
  str = dump_simpletype
  unless str.empty?
    result << "\n" unless result.empty?
    result << str
  end
  str = dump_element
  unless str.empty?
    result << "\n" unless result.empty?
    result << str
  end
  str = dump_attribute
  unless str.empty?
    result << "\n" unless result.empty?
    result << str
  end
  result
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.