summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-1.3/modules/databinding-saxon/src/main/java/org/apache/tuscany/sca/databinding/saxon/SimpleType2ValueTransformer.java
diff options
context:
space:
mode:
Diffstat (limited to 'branches/sca-java-1.3/modules/databinding-saxon/src/main/java/org/apache/tuscany/sca/databinding/saxon/SimpleType2ValueTransformer.java')
-rw-r--r--branches/sca-java-1.3/modules/databinding-saxon/src/main/java/org/apache/tuscany/sca/databinding/saxon/SimpleType2ValueTransformer.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/branches/sca-java-1.3/modules/databinding-saxon/src/main/java/org/apache/tuscany/sca/databinding/saxon/SimpleType2ValueTransformer.java b/branches/sca-java-1.3/modules/databinding-saxon/src/main/java/org/apache/tuscany/sca/databinding/saxon/SimpleType2ValueTransformer.java
index 11d2fd0d56..67d89a6e0b 100644
--- a/branches/sca-java-1.3/modules/databinding-saxon/src/main/java/org/apache/tuscany/sca/databinding/saxon/SimpleType2ValueTransformer.java
+++ b/branches/sca-java-1.3/modules/databinding-saxon/src/main/java/org/apache/tuscany/sca/databinding/saxon/SimpleType2ValueTransformer.java
@@ -23,7 +23,7 @@ import java.math.BigDecimal;
import net.sf.saxon.value.DecimalValue;
import net.sf.saxon.value.DoubleValue;
import net.sf.saxon.value.FloatValue;
-import net.sf.saxon.value.Int64Value;
+import net.sf.saxon.value.IntegerValue;
import net.sf.saxon.value.ObjectValue;
import net.sf.saxon.value.StringValue;
import net.sf.saxon.value.Value;
@@ -63,13 +63,13 @@ public class SimpleType2ValueTransformer extends BaseTransformer<Object, Value>
public Value transform(Object source, TransformationContext context) {
Value result = null;
if (source instanceof Integer) {
- result = new Int64Value((Integer)source);
+ result = new IntegerValue((Integer)source);
} else if (source instanceof Long) {
- result = new Int64Value((Long)source);
+ result = new IntegerValue((Long)source);
} else if (source instanceof Short) {
- result = new Int64Value((Short)source);
+ result = new IntegerValue((Short)source);
} else if (source instanceof Byte) {
- result = new Int64Value((Byte)source);
+ result = new IntegerValue((Byte)source);
} else if (source instanceof Double) {
result = new DoubleValue((Double)source);
} else if (source instanceof Float) {