org.springframework.core.convert.BindingPointorg.springframework.core.convert.ConversionPoint



Project SpringSource/spring-framework in file ...ngframework.core.convert.support.ArrayToArray.java (2009-05-15)
@@ -18,7 +18,7 @@ package org.springframework.core.convert.support;
 import java.lang.reflect.Array;
 
 import org.springframework.core.convert.TypeConverter;
-import org.springframework.core.convert.BindingPoint;
+import org.springframework.core.convert.ConversionPoint;
 
 /**
  * Special one-way converter that converts from a source array to a target array. Supports type conversion of the
@@ -29,7 +29,7 @@ import org.springframework.core.convert.BindingPoint;
  */
 class ArrayToArray extends AbstractCollectionConverter {
 
-	public ArrayToArray(BindingPoint sourceArrayType, BindingPoint targetArrayType, GenericTypeConverter conversionService) {
+	public ArrayToArray(ConversionPoint sourceArrayType, ConversionPoint targetArrayType, GenericTypeConverter conversionService) {
 		super(sourceArrayType, targetArrayType, conversionService);
 	}
 
Project SpringSource/spring-framework in file ...mework.core.convert.support.ArrayToCollection.java (2009-05-15)
@@ -18,7 +18,7 @@ package org.springframework.core.convert.support;
 import java.lang.reflect.Array;
 import java.util.Collection;
 
-import org.springframework.core.convert.BindingPoint;
+import org.springframework.core.convert.ConversionPoint;
 
 /**
  * Special converter that converts from a source array to a target collection. Supports the selection of an
@@ -29,7 +29,7 @@ import org.springframework.core.convert.BindingPoint;
  */
 class ArrayToCollection extends AbstractCollectionConverter {
 
-	public ArrayToCollection(BindingPoint sourceArrayType, BindingPoint targetCollectionType,
+	public ArrayToCollection(ConversionPoint sourceArrayType, ConversionPoint targetCollectionType,
 			GenericTypeConverter conversionService) {
 		super(sourceArrayType, targetCollectionType, conversionService);
 	}
Project SpringSource/spring-framework in file ...mework.core.convert.support.ArrayToArrayTests.java (2009-05-15)
@@ -3,7 +3,7 @@ package org.springframework.core.convert.support;
 import static org.junit.Assert.assertEquals;
 
 import org.junit.Test;
-import org.springframework.core.convert.BindingPoint;
+import org.springframework.core.convert.ConversionPoint;
 import org.springframework.core.convert.support.ArrayToArray;
 import org.springframework.core.convert.support.DefaultTypeConverter;
 
@@ -12,7 +12,7 @@ public class ArrayToArrayTests {
 	@Test
 	public void testArrayToArrayConversion() {
 		DefaultTypeConverter service = new DefaultTypeConverter();
-		ArrayToArray c = new ArrayToArray(BindingPoint.valueOf(String[].class), BindingPoint.valueOf(Integer[].class), service);
+		ArrayToArray c = new ArrayToArray(ConversionPoint.valueOf(String[].class), ConversionPoint.valueOf(Integer[].class), service);
 		Integer[] result = (Integer[]) c.execute(new String[] { "1", "2", "3" });
 		assertEquals(new Integer(1), result[0]);
 		assertEquals(new Integer(2), result[1]);
Project SpringSource/spring-framework in file ...amework.expression.spel.ast.FunctionReference.java (2009-05-15)
@@ -22,7 +22,7 @@ import java.lang.reflect.Modifier;
 
 import org.antlr.runtime.Token;
 import org.springframework.core.MethodParameter;
-import org.springframework.core.convert.BindingPoint;
+import org.springframework.core.convert.ConversionPoint;
 import org.springframework.expression.EvaluationException;
 import org.springframework.expression.TypeConverter;
 import org.springframework.expression.TypedValue;
@@ -104,7 +104,7 @@ public class FunctionReference extends SpelNodeImpl {
 		try {
 			ReflectionUtils.makeAccessible(m);
 			Object result = m.invoke(m.getClass(), functionArgs);
-			return new TypedValue(result, new BindingPoint(new MethodParameter(m,-1)));
+			return new TypedValue(result, new ConversionPoint(new MethodParameter(m,-1)));
 		} catch (IllegalArgumentException e) {
 			throw new SpelException(getCharPositionInLine(), e, SpelMessages.EXCEPTION_DURING_FUNCTION_CALL, name, e
 					.getMessage());
Project SpringSource/spring-framework in file ...gframework.expression.spel.ast.OperatorDivide.java (2009-05-15)
@@ -17,7 +17,7 @@
 package org.springframework.expression.spel.ast;
 
 import org.antlr.runtime.Token;
-import org.springframework.core.convert.BindingPoint;
+import org.springframework.core.convert.ConversionPoint;
 import org.springframework.expression.EvaluationException;
 import org.springframework.expression.Operation;
 import org.springframework.expression.TypedValue;
@@ -56,7 +56,7 @@ public class OperatorDivide extends Operator {
 			}
 		}
 		Object result = state.operate(Operation.DIVIDE, operandOne, operandTwo);
-		return new TypedValue(result,BindingPoint.forObject(result));
+		return new TypedValue(result,ConversionPoint.forObject(result));
 	}
 
 }