WSDL::Message (Class)

In: wsdl/message.rb
Parent: Info

Methods

Attributes

name  [R] 
parts  [R] 

Public Class methods

[Source]

# File wsdl/message.rb, line 19
  def initialize
    super
    @name = nil
    @parts = []
  end

Public Instance methods

[Source]

# File wsdl/message.rb, line 43
  def parse_attr(attr, value)
    case attr
    when NameAttrName
      @name = XSD::QName.new(parent.targetnamespace, value)
    else
      nil
    end
  end

[Source]

# File wsdl/message.rb, line 29
  def parse_element(element)
    case element
    when PartName
      o = Part.new
      @parts << o
      o
    when DocumentationName
      o = Documentation.new
      o
    else
      nil
    end
  end

[Source]

# File wsdl/message.rb, line 25
  def targetnamespace
    parent.targetnamespace
  end

[Validate]