Class WSDL::XMLSchema::SimpleExtension
In: lib/wsdl/xmlSchema/simpleExtension.rb
Parent: Info

Methods

Attributes

attributes  [R] 
base  [R] 

Public Class methods

[Source]

    # File lib/wsdl/xmlSchema/simpleExtension.rb, line 21
21:   def initialize
22:     super
23:     @base = nil
24:     @attributes = XSD::NamedElements.new
25:   end

Public Instance methods

[Source]

    # File lib/wsdl/xmlSchema/simpleExtension.rb, line 44
44:   def parse_attr(attr, value)
45:     case attr
46:     when BaseAttrName
47:       @base = value
48:     end
49:   end

[Source]

    # File lib/wsdl/xmlSchema/simpleExtension.rb, line 35
35:   def parse_element(element)
36:     case element
37:     when AttributeName
38:       o = Attribute.new
39:       @attributes << o
40:       o
41:     end
42:   end

[Source]

    # File lib/wsdl/xmlSchema/simpleExtension.rb, line 27
27:   def targetnamespace
28:     parent.targetnamespace
29:   end

[Source]

    # File lib/wsdl/xmlSchema/simpleExtension.rb, line 31
31:   def valid?(value)
32:     true
33:   end

[Validate]