Class WSDL::XMLSchema::Include
In: wsdl/xmlSchema/include.rb
Parent: Info

Methods

Attributes

content  [R] 
schemalocation  [R] 

Public Class methods

[Source]

# File wsdl/xmlSchema/include.rb, line 21
  def initialize
    super
    @schemalocation = nil
    @content = nil
  end

Public Instance methods

[Source]

# File wsdl/xmlSchema/include.rb, line 31
  def parse_attr(attr, value)
    case attr
    when SchemaLocationAttrName
      @schemalocation = URI.parse(value.source)
      if @schemalocation.relative?
        @schemalocation = parent.location + @schemalocation
      end
      @content = import(@schemalocation)
      @schemalocation
    else
      nil
    end
  end

[Source]

# File wsdl/xmlSchema/include.rb, line 27
  def parse_element(element)
    nil
  end

[Validate]