class WSDL::XMLSchema::MaxLength

Public Class Methods

new() click to toggle source
Calls superclass method WSDL::Info::new
# File lib/wsdl/xmlSchema/maxlength.rb, line 18
def initialize
  super
end

Public Instance Methods

parse_attr(attr, value) click to toggle source
# File lib/wsdl/xmlSchema/maxlength.rb, line 26
def parse_attr(attr, value)
  case attr
  when FixedAttrName
    parent.fixed[:maxlength] = to_boolean(value)
  when ValueAttrName
    parent.maxlength = to_int(value)
  end
end
parse_element(element) click to toggle source
# File lib/wsdl/xmlSchema/maxlength.rb, line 22
def parse_element(element)
  nil
end