/tools/Ruby/lib/ruby/1.8/soap/mapping/typeMap.rb

http://github.com/agross/netopenspace · Ruby · 50 lines · 37 code · 8 blank · 5 comment · 0 complexity · 6616726565adcd304cbc2bc7671c1ffe MD5 · raw file

  1. # SOAP4R - Base type mapping definition
  2. # Copyright (C) 2000, 2001, 2002, 2003 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. module SOAP
  7. TypeMap = {
  8. XSD::XSDAnySimpleType::Type => SOAPAnySimpleType,
  9. XSD::XSDString::Type => SOAPString,
  10. XSD::XSDBoolean::Type => SOAPBoolean,
  11. XSD::XSDDecimal::Type => SOAPDecimal,
  12. XSD::XSDFloat::Type => SOAPFloat,
  13. XSD::XSDDouble::Type => SOAPDouble,
  14. XSD::XSDDuration::Type => SOAPDuration,
  15. XSD::XSDDateTime::Type => SOAPDateTime,
  16. XSD::XSDTime::Type => SOAPTime,
  17. XSD::XSDDate::Type => SOAPDate,
  18. XSD::XSDGYearMonth::Type => SOAPGYearMonth,
  19. XSD::XSDGYear::Type => SOAPGYear,
  20. XSD::XSDGMonthDay::Type => SOAPGMonthDay,
  21. XSD::XSDGDay::Type => SOAPGDay,
  22. XSD::XSDGMonth::Type => SOAPGMonth,
  23. XSD::XSDHexBinary::Type => SOAPHexBinary,
  24. XSD::XSDBase64Binary::Type => SOAPBase64,
  25. XSD::XSDAnyURI::Type => SOAPAnyURI,
  26. XSD::XSDQName::Type => SOAPQName,
  27. XSD::XSDInteger::Type => SOAPInteger,
  28. XSD::XSDNonPositiveInteger::Type => SOAPNonPositiveInteger,
  29. XSD::XSDNegativeInteger::Type => SOAPNegativeInteger,
  30. XSD::XSDLong::Type => SOAPLong,
  31. XSD::XSDInt::Type => SOAPInt,
  32. XSD::XSDShort::Type => SOAPShort,
  33. XSD::XSDByte::Type => SOAPByte,
  34. XSD::XSDNonNegativeInteger::Type => SOAPNonNegativeInteger,
  35. XSD::XSDUnsignedLong::Type => SOAPUnsignedLong,
  36. XSD::XSDUnsignedInt::Type => SOAPUnsignedInt,
  37. XSD::XSDUnsignedShort::Type => SOAPUnsignedShort,
  38. XSD::XSDUnsignedByte::Type => SOAPUnsignedByte,
  39. XSD::XSDPositiveInteger::Type => SOAPPositiveInteger,
  40. SOAP::SOAPBase64::Type => SOAPBase64,
  41. }
  42. end