axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r432592 - /webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java
Date Fri, 18 Aug 2006 14:11:27 GMT
Author: dims
Date: Fri Aug 18 07:11:26 2006
New Revision: 432592

URL: http://svn.apache.org/viewvc?rev=432592&view=rev
Log:
Fix for build break.

Modified:
    webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java

Modified: webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java?rev=432592&r1=432591&r2=432592&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java
(original)
+++ webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java
Fri Aug 18 07:11:26 2006
@@ -1206,37 +1206,37 @@
 			
 			else if ( obj instanceof XmlSchemaLengthFacet ) {
 				XmlSchemaLengthFacet length = (XmlSchemaLengthFacet) obj;
-				metaInfHolder.setLengthFacet(Integer.parseInt(length.toString()));
+				metaInfHolder.setLengthFacet(Integer.parseInt(length.getValue().toString()));
 			}
 			
 			else if ( obj instanceof XmlSchemaMaxExclusiveFacet ) {
 				XmlSchemaMaxExclusiveFacet maxEx = (XmlSchemaMaxExclusiveFacet) obj;
-				metaInfHolder.setMaxExclusiveFacet(Integer.parseInt(maxEx.toString()));
+				metaInfHolder.setMaxExclusiveFacet(Integer.parseInt(maxEx.getValue().toString()));
 			}
 			
 			else if ( obj instanceof XmlSchemaMinExclusiveFacet ) {
 				XmlSchemaMinExclusiveFacet minEx = (XmlSchemaMinExclusiveFacet) obj;
-				metaInfHolder.setMinExclusiveFacet(Integer.parseInt(minEx.toString()));
+				metaInfHolder.setMinExclusiveFacet(Integer.parseInt(minEx.getValue().toString()));
 			}
 			
 			else if ( obj instanceof XmlSchemaMaxInclusiveFacet ) {
 				XmlSchemaMaxInclusiveFacet maxIn = (XmlSchemaMaxInclusiveFacet) obj;
-				metaInfHolder.setMaxInclusiveFacet(Integer.parseInt(maxIn.toString()));
+				metaInfHolder.setMaxInclusiveFacet(Integer.parseInt(maxIn.getValue().toString()));
 			}
 			
 			else if ( obj instanceof XmlSchemaMinInclusiveFacet ) {
 				XmlSchemaMinInclusiveFacet minIn = (XmlSchemaMinInclusiveFacet) obj;
-				metaInfHolder.setMinInclusiveFacet(Integer.parseInt(minIn.toString()));
+				metaInfHolder.setMinInclusiveFacet(Integer.parseInt(minIn.getValue().toString()));
 			}
 			
 			else if ( obj instanceof XmlSchemaMaxLengthFacet ) {
 				XmlSchemaMaxLengthFacet maxLen = (XmlSchemaMaxLengthFacet) obj;
-				metaInfHolder.setMaxLengthFacet(Integer.parseInt(maxLen.toString()));
+				metaInfHolder.setMaxLengthFacet(Integer.parseInt(maxLen.getValue().toString()));
 			}
 			
 			else if ( obj instanceof XmlSchemaMinLengthFacet ) {
 				XmlSchemaMinLengthFacet minLen = (XmlSchemaMinLengthFacet) obj;
-				metaInfHolder.setMinLengthFacet(Integer.parseInt(minLen.toString()));
+				metaInfHolder.setMinLengthFacet(Integer.parseInt(minLen.getValue().toString()));
 			}
         }
     }



---------------------------------------------------------------------
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