PageRenderTime 28ms CodeModel.GetById 15ms app.highlight 11ms RepoModel.GetById 2ms app.codeStats 0ms

/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
 4# This program is copyrighted free software by NAKAMURA, Hiroshi.  You can
 5# redistribute it and/or modify it under the same terms of Ruby's license;
 6# either the dual license version in 2003, or any later version.
 7
 8
 9module SOAP
10
11
12TypeMap = {
13  XSD::XSDAnySimpleType::Type => SOAPAnySimpleType,
14  XSD::XSDString::Type => SOAPString,
15  XSD::XSDBoolean::Type => SOAPBoolean,
16  XSD::XSDDecimal::Type => SOAPDecimal,
17  XSD::XSDFloat::Type => SOAPFloat,
18  XSD::XSDDouble::Type => SOAPDouble,
19  XSD::XSDDuration::Type => SOAPDuration,
20  XSD::XSDDateTime::Type => SOAPDateTime,
21  XSD::XSDTime::Type => SOAPTime,
22  XSD::XSDDate::Type => SOAPDate,
23  XSD::XSDGYearMonth::Type => SOAPGYearMonth,
24  XSD::XSDGYear::Type => SOAPGYear,
25  XSD::XSDGMonthDay::Type => SOAPGMonthDay,
26  XSD::XSDGDay::Type => SOAPGDay,
27  XSD::XSDGMonth::Type => SOAPGMonth,
28  XSD::XSDHexBinary::Type => SOAPHexBinary,
29  XSD::XSDBase64Binary::Type => SOAPBase64,
30  XSD::XSDAnyURI::Type => SOAPAnyURI,
31  XSD::XSDQName::Type => SOAPQName,
32  XSD::XSDInteger::Type => SOAPInteger,
33  XSD::XSDNonPositiveInteger::Type => SOAPNonPositiveInteger,
34  XSD::XSDNegativeInteger::Type => SOAPNegativeInteger,
35  XSD::XSDLong::Type => SOAPLong,
36  XSD::XSDInt::Type => SOAPInt,
37  XSD::XSDShort::Type => SOAPShort,
38  XSD::XSDByte::Type => SOAPByte,
39  XSD::XSDNonNegativeInteger::Type => SOAPNonNegativeInteger,
40  XSD::XSDUnsignedLong::Type => SOAPUnsignedLong,
41  XSD::XSDUnsignedInt::Type => SOAPUnsignedInt,
42  XSD::XSDUnsignedShort::Type => SOAPUnsignedShort,
43  XSD::XSDUnsignedByte::Type => SOAPUnsignedByte,
44  XSD::XSDPositiveInteger::Type => SOAPPositiveInteger,
45
46  SOAP::SOAPBase64::Type => SOAPBase64,
47}
48
49
50end