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 TimeDeserializer.java TimeDeserializerFactory.java TimeSerializer.java TimeSerializerFactory.java
Date Thu, 03 Feb 2005 14:49:37 GMT
dims        2005/02/03 06:49:37

  Modified:    java/src/org/apache/axis/encoding
                        DefaultJAXRPC11TypeMappingImpl.java
  Added:       java/src/org/apache/axis/encoding/ser TimeDeserializer.java
                        TimeDeserializerFactory.java TimeSerializer.java
                        TimeSerializerFactory.java
  Log:
  - fix typo when registering XSD_DATETIME
  - Add separate ser/der stuff for XSD_TIME (patch from jonas team)
  
  Revision  Changes    Path
  1.7       +6 -4      ws-axis/java/src/org/apache/axis/encoding/DefaultJAXRPC11TypeMappingImpl.java
  
  Index: DefaultJAXRPC11TypeMappingImpl.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/encoding/DefaultJAXRPC11TypeMappingImpl.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- DefaultJAXRPC11TypeMappingImpl.java	3 Feb 2005 14:34:41 -0000	1.6
  +++ DefaultJAXRPC11TypeMappingImpl.java	3 Feb 2005 14:49:37 -0000	1.7
  @@ -19,6 +19,8 @@
   import org.apache.axis.Constants;
   import org.apache.axis.encoding.ser.DateDeserializerFactory;
   import org.apache.axis.encoding.ser.DateSerializerFactory;
  +import org.apache.axis.encoding.ser.TimeDeserializerFactory;
  +import org.apache.axis.encoding.ser.TimeSerializerFactory;
   
   /**
    * This is the implementation of the axis Default JAX-RPC SOAP Encoding TypeMapping
  @@ -61,18 +63,18 @@
           myRegisterSimple(Constants.XSD_UNSIGNEDBYTE, short.class);
           myRegister(Constants.XSD_DATETIME, java.util.Calendar.class,
                   new DateSerializerFactory(java.util.Calendar.class,
  -                        Constants.XSD_DATE),
  +                        Constants.XSD_DATETIME),
                   new DateDeserializerFactory(java.util.Calendar.class,
  -                        Constants.XSD_DATE));
  +                        Constants.XSD_DATETIME));
           myRegister(Constants.XSD_DATE, java.util.Calendar.class,
                   new DateSerializerFactory(java.util.Calendar.class,
                           Constants.XSD_DATE),
                   new DateDeserializerFactory(java.util.Calendar.class,
                           Constants.XSD_DATE));
           myRegister(Constants.XSD_TIME, java.util.Calendar.class,
  -                new DateSerializerFactory(java.util.Calendar.class,
  +                new TimeSerializerFactory(java.util.Calendar.class,
                           Constants.XSD_TIME),
  -                new DateDeserializerFactory(java.util.Calendar.class,
  +                new TimeDeserializerFactory(java.util.Calendar.class,
                           Constants.XSD_TIME));
           try {
               myRegisterSimple(Constants.XSD_ANYURI,
  
  
  
  1.3       +21 -67    ws-axis/java/src/org/apache/axis/encoding/ser/TimeDeserializer.java
  
  
  
  
  1.3       +16 -56    ws-axis/java/src/org/apache/axis/encoding/ser/TimeDeserializerFactory.java
  
  
  
  
  1.3       +51 -80    ws-axis/java/src/org/apache/axis/encoding/ser/TimeSerializer.java
  
  
  
  
  1.3       +18 -69    ws-axis/java/src/org/apache/axis/encoding/ser/TimeSerializerFactory.java
  
  
  
  

Mime
View raw message