axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: ws-axis/java/src/org/apache/axis/encoding/ser SimpleDeserializerFactory.java
Date Tue, 08 Mar 2005 15:50:27 GMT
dims        2005/03/08 07:50:27

  Modified:    java/src/org/apache/axis/encoding/ser
                        SimpleDeserializerFactory.java
  Log:
  Fix for AXIS-1857 - PositiveInteger fields in a bean are incorrectly serialized (lowestSetBit
attribute)
  from Yves Langisch
  
  URL: http://issues.apache.org/jira/browse/AXIS-1857
  
  Revision  Changes    Path
  1.16      +30 -2     ws-axis/java/src/org/apache/axis/encoding/ser/SimpleDeserializerFactory.java
  
  Index: SimpleDeserializerFactory.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/encoding/ser/SimpleDeserializerFactory.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- SimpleDeserializerFactory.java	6 Feb 2005 23:57:27 -0000	1.15
  +++ SimpleDeserializerFactory.java	8 Mar 2005 15:50:27 -0000	1.16
  @@ -84,12 +84,40 @@
        * primitive java types or some basic Axis types.
        */
       public static boolean isBasic(Class javaType) {
  -        return (javaType.isPrimitive() || 
  +        return (javaType.isPrimitive() ||
                   javaType == java.lang.String.class ||
                   javaType == java.lang.Boolean.class ||
                   javaType == java.lang.Float.class ||
                   javaType == java.lang.Double.class ||
  -                javaType == org.apache.axis.types.URI.class);
  +                javaType == org.apache.axis.types.Day.class ||
  +                javaType == org.apache.axis.types.Duration.class ||
  +                javaType == org.apache.axis.types.Entities.class ||
  +                javaType == org.apache.axis.types.Entity.class ||
  +                javaType == org.apache.axis.types.HexBinary.class ||
  +                javaType == org.apache.axis.types.Id.class ||
  +                javaType == org.apache.axis.types.IDRef.class ||
  +                javaType == org.apache.axis.types.IDRefs.class ||
  +                javaType == org.apache.axis.types.Language.class ||
  +                javaType == org.apache.axis.types.Month.class ||
  +                javaType == org.apache.axis.types.MonthDay.class ||
  +                javaType == org.apache.axis.types.Name.class ||
  +                javaType == org.apache.axis.types.NCName.class ||
  +                javaType == org.apache.axis.types.NegativeInteger.class ||
  +                javaType == org.apache.axis.types.NMToken.class ||
  +                javaType == org.apache.axis.types.NMTokens.class ||
  +                javaType == org.apache.axis.types.NonNegativeInteger.class ||
  +                javaType == org.apache.axis.types.NonPositiveInteger.class ||
  +                javaType == org.apache.axis.types.NormalizedString.class ||
  +                javaType == org.apache.axis.types.PositiveInteger.class ||
  +                javaType == org.apache.axis.types.Time.class ||
  +                javaType == org.apache.axis.types.Token.class ||
  +                javaType == org.apache.axis.types.UnsignedByte.class ||
  +                javaType == org.apache.axis.types.UnsignedInt.class ||
  +                javaType == org.apache.axis.types.UnsignedLong.class ||
  +                javaType == org.apache.axis.types.UnsignedShort.class ||
  +                javaType == org.apache.axis.types.URI.class ||
  +                javaType == org.apache.axis.types.Year.class ||
  +                javaType == org.apache.axis.types.YearMonth.class);
       }
   
       /**
  
  
  

Mime
View raw message