/tools/Ruby/lib/ruby/1.8/wsdl/xmlSchema/length.rb

http://github.com/agross/netopenspace · Ruby · 35 lines · 19 code · 11 blank · 5 comment · 0 complexity · ccc956ebd4906c4b56de35491e4c09ec MD5 · raw file

  1. # WSDL4R - XMLSchema length definition for WSDL.
  2. # Copyright (C) 2005 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
  3. # This program is copyrighted free software by NAKAMURA, Hiroshi. You can
  4. # redistribute it and/or modify it under the same terms of Ruby's license;
  5. # either the dual license version in 2003, or any later version.
  6. require 'wsdl/info'
  7. module WSDL
  8. module XMLSchema
  9. class Length < Info
  10. def initialize
  11. super
  12. end
  13. def parse_element(element)
  14. nil
  15. end
  16. def parse_attr(attr, value)
  17. case attr
  18. when ValueAttrName
  19. value.source
  20. end
  21. end
  22. end
  23. end
  24. end