axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r432225 - /webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/utils/ConverterUtil.java
Date Thu, 17 Aug 2006 13:07:37 GMT
Author: dims
Date: Thu Aug 17 06:07:37 2006
New Revision: 432225

URL: http://svn.apache.org/viewvc?rev=432225&view=rev
Log:
Fix for AXIS2-1030 - WSDL2Java ADB code gen - wrong use of ConverterUtil

Modified:
    webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/utils/ConverterUtil.java

Modified: webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/utils/ConverterUtil.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/utils/ConverterUtil.java?rev=432225&r1=432224&r2=432225&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/utils/ConverterUtil.java
(original)
+++ webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/utils/ConverterUtil.java
Thu Aug 17 06:07:37 2006
@@ -294,7 +294,6 @@
             return null;
         }
     }
-
     public static YearMonth convertToGYearMonth(String s) {
         return new YearMonth(s);
     }
@@ -332,6 +331,11 @@
         );
         return new DataHandler(byteArrayDataSource);
     }
+    
+    public static javax.activation.DataHandler convertToDataHandler(String s)
+    		throws Exception{
+    	return convertToBase64Binary(s);
+    }
 
     /**
      * Converts a given string into a date.
@@ -444,6 +448,10 @@
         return new Id(s);
     }
 
+    public static Id convertToId(String s) {
+    	return convertToID(s);
+    }
+        
     public static Language convertToLanguage(String s) {
         return new Language(s);
     }
@@ -485,6 +493,10 @@
         return new BigInteger(s);
     }
 
+    public static BigInteger convertToBigInteger(String s) throws Exception {
+    	return convertToInteger(s);
+    }
+    
     public static byte convertToByte(String s) throws Exception {
         return Byte.parseByte(s);
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message