Parent

Files

Class Index [+]

Quicksearch

WSDL::Binding

Attributes

name[R]
type[R]
operations[R]
soapbinding[R]

Public Class Methods

new() click to toggle source
    # File lib/wsdl/binding.rb, line 22
22:   def initialize
23:     super
24:     @name = nil
25:     @type = nil
26:     @operations = XSD::NamedElements.new
27:     @soapbinding = nil
28:   end

Public Instance Methods

parse_attr(attr, value) click to toggle source
    # File lib/wsdl/binding.rb, line 52
52:   def parse_attr(attr, value)
53:     case attr
54:     when NameAttrName
55:       @name = XSD::QName.new(targetnamespace, value.source)
56:     when TypeAttrName
57:       @type = value
58:     else
59:       nil
60:     end
61:   end
parse_element(element) click to toggle source
    # File lib/wsdl/binding.rb, line 34
34:   def parse_element(element)
35:     case element
36:     when OperationName
37:       o = OperationBinding.new
38:       @operations << o
39:       o
40:     when SOAPBindingName
41:       o = WSDL::SOAP::Binding.new
42:       @soapbinding = o
43:       o
44:     when DocumentationName
45:       o = Documentation.new
46:       o
47:     else
48:       nil
49:     end
50:   end
targetnamespace() click to toggle source
    # File lib/wsdl/binding.rb, line 30
30:   def targetnamespace
31:     parent.targetnamespace
32:   end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.