Extended maintenance of Ruby versions 1.8.7 and 1.9.2 ended on July 31, 2014. Read more

In Files

  • wsdl/xmlSchema/simpleExtension.rb

Class/Module Index [+]

Quicksearch

WSDL::XMLSchema::SimpleExtension

Attributes

attributes[R]
base[R]

Public Class Methods

new() click to toggle source
 
               # File wsdl/xmlSchema/simpleExtension.rb, line 21
def initialize
  super
  @base = nil
  @attributes = XSD::NamedElements.new
end
            

Public Instance Methods

parse_attr(attr, value) click to toggle source
 
               # File wsdl/xmlSchema/simpleExtension.rb, line 44
def parse_attr(attr, value)
  case attr
  when BaseAttrName
    @base = value
  end
end
            
parse_element(element) click to toggle source
 
               # File wsdl/xmlSchema/simpleExtension.rb, line 35
def parse_element(element)
  case element
  when AttributeName
    o = Attribute.new
    @attributes << o
    o
  end
end
            
targetnamespace() click to toggle source
 
               # File wsdl/xmlSchema/simpleExtension.rb, line 27
def targetnamespace
  parent.targetnamespace
end
            
valid?(value) click to toggle source
 
               # File wsdl/xmlSchema/simpleExtension.rb, line 31
def valid?(value)
  true
end