| Class | WSDL::XMLSchema::SimpleType |
| In: |
wsdl/xmlSchema/simpleType.rb
|
| Parent: | Info |
| name | [RW] | |
| restriction | [R] |
# File wsdl/xmlSchema/simpleType.rb, line 37 def initialize(name = nil) super() @name = name @restriction = nil end
# File wsdl/xmlSchema/simpleType.rb, line 29 def base if @restriction @restriction.base else raise ArgumentError.new("incomplete simpleType") end end
# File wsdl/xmlSchema/simpleType.rb, line 21 def check_lexical_format(value) if @restriction check_restriction(value) else raise ArgumentError.new("incomplete simpleType") end end
# File wsdl/xmlSchema/simpleType.rb, line 55 def parse_attr(attr, value) case attr when NameAttrName @name = XSD::QName.new(targetnamespace, value.source) end end
# File wsdl/xmlSchema/simpleType.rb, line 47 def parse_element(element) case element when RestrictionName @restriction = SimpleRestriction.new @restriction end end
ruby-doc.org is hosted and maintained by James Britt and Happy Camper Studios, a Ruby application development company in Phoenix, Arizona. The site was created in 2002 as part of the Ruby Documentation Project to promote the Ruby language and to help other Ruby hackers.
Documentation content on ruby-doc.org is provided by remarkable members of the Ruby community.
For more information on the Ruby programming language, visit ruby-lang.org.
Want to help improve Ruby's API docs? See Ruby Documentation Guidelines.