} else if (enumeration) {
//-- we'll need to change this
//-- when enumerations are no longer
//-- treated as strings
JType jType = null;
if (classInfo != null) {
jType = classInfo.getJClass();
}
else {
jType = xsType.getJType();
}
String tmp = jType.getName() + ".valueOf(\"" + value;
tmp += "\")";
value = tmp;
}