if (sType.getItemType() == BuiltinTypeRegistry.XS_DOUBLE) {
castToTag = ValueTag.XS_DOUBLE_TAG;
aOp = new CastToDoubleOperation();
} else if (sType.getItemType() == BuiltinTypeRegistry.XS_FLOAT) {
castToTag = ValueTag.XS_FLOAT_TAG;
aOp = new CastToFloatOperation();
} else if (sType.getItemType() == BuiltinTypeRegistry.XS_STRING) {
castToTag = ValueTag.XS_STRING_TAG;
aOp = new CastToStringOperation();
} else {
castToTag = -1;