value = jType.getName() + ".valueOf(\"" + value + "\")";
}
} else if (xsType.getJType().isArray()) {
JType componentType = ((JArrayType) xsType.getJType()).getComponentType();
if (componentType.isPrimitive()) {
JPrimitiveType primitive = (JPrimitiveType) componentType;
value = "new " + primitive.getName() + "[] { "
+ primitive.getWrapperName() + ".valueOf(\"" + value
+ "\")." + primitive.getName() + "Value() }";
} else {
value = "new " + componentType.getName() + "[] { "
+ componentType.getName() + ".valueOf(\"" + value + "\") }";
}