axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From di...@apache.org
Subject cvs commit: ws-axis/c/src/common BasicTypeSerializer.cpp
Date Tue, 14 Jun 2005 12:09:27 GMT
dicka       2005/06/14 05:09:27

  Modified:    c/src/common BasicTypeSerializer.cpp
  Log:
  Add in remaining xsd:types to string lookup within BasicTypeSerializer.cpp - used when serializing
rpc/encoded style SOAP.
  
  Submitted by: Adrian Dick
  
  Revision  Changes    Path
  1.57      +42 -32    ws-axis/c/src/common/BasicTypeSerializer.cpp
  
  Index: BasicTypeSerializer.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/common/BasicTypeSerializer.cpp,v
  retrieving revision 1.56
  retrieving revision 1.57
  diff -u -r1.56 -r1.57
  --- BasicTypeSerializer.cpp	13 Jun 2005 12:48:08 -0000	1.56
  +++ BasicTypeSerializer.cpp	14 Jun 2005 12:09:27 -0000	1.57
  @@ -139,38 +139,6 @@
   {
       switch (type)
       {
  -        case XSD_INT:
  -            return "int";
  -        case XSD_BOOLEAN:
  -            return "boolean";
  -        case XSD_UNSIGNEDINT:
  -            return "unsignedInt";
  -        case XSD_SHORT:
  -            return "short";
  -        case XSD_UNSIGNEDSHORT:
  -            return "unsignedShort";
  -        case XSD_BYTE:
  -            return "byte";
  -        case XSD_UNSIGNEDBYTE:
  -            return "unsignedByte";
  -        case XSD_LONG:
  -            return "long";
  -        case XSD_INTEGER:
  -            return "integer";
  -        case XSD_UNSIGNEDLONG:
  -            return "unsignedLong";
  -        case XSD_FLOAT:
  -            return "float";
  -        case XSD_DOUBLE:
  -            return "double";
  -        case XSD_DECIMAL:
  -            return "decimal";
  -        case XSD_STRING:
  -            return "string";
  -        case XSD_HEXBINARY:
  -            return "hexBinary";
  -        case XSD_BASE64BINARY:
  -            return "base64Binary";
           case XSD_DURATION:
               return "duration";
           case XSD_DATETIME:
  @@ -189,10 +157,52 @@
               return "gDay";
           case XSD_MONTH:
               return "gMonth";
  +        case XSD_STRING:
  +            return "string";
  +        case XSD_BOOLEAN:
  +            return "boolean";
  +        case XSD_BASE64BINARY:
  +            return "base64Binary";
  +        case XSD_HEXBINARY:
  +            return "hexBinary";
  +        case XSD_FLOAT:
  +            return "float";
  +        case XSD_DECIMAL:
  +            return "decimal";
  +        case XSD_INTEGER:
  +            return "integer";
  +        case XSD_NONPOSITIVEINTEGER:
  +            return "nonPositiveInteger";
  +        case XSD_NEGATIVEINTEGER:
  +            return "negativeInteger";
  +        case XSD_LONG:
  +            return "long";
  +        case XSD_INT:
  +            return "int";
  +        case XSD_SHORT:
  +            return "short";
  +        case XSD_BYTE:
  +            return "byte";
  +        case XSD_NONNEGATIVEINTEGER:
  +            return "nonNegativeInteger";
  +        case XSD_UNSIGNEDLONG:
  +            return "unsignedLong";
  +        case XSD_UNSIGNEDINT:
  +            return "unsignedInt";
  +        case XSD_UNSIGNEDSHORT:
  +            return "unsignedShort";
  +        case XSD_UNSIGNEDBYTE:
  +            return "unsignedByte";
  +        case XSD_POSITIVEINTEGER:
  +            return "positiveInteger";
  +        case XSD_DOUBLE:
  +            return "double";
           case XSD_ANYURI:
               return "anyURI";
           case XSD_QNAME:
               return "QName";
  +        case XSD_NOTATION:
  +            return "NOTATION";
           default:
               return " ";
       }
  
  
  

Mime
View raw message