Object values = Array.newInstance(javaType, ((List<Object>)propertyValue).size());
for (String aValue : (List<String>)propertyValue) {
try {
Array.set(values, count++, simpleTypeMapper.toJavaObject(property.getXSDType(), aValue, null));
} catch (NumberFormatException ex) {
throw new ObjectCreationException("Failed to create instance for property " + property
.getName()
+ " with value "
+ aValue
+ " from value list of "
+ propertyValue, ex);
} catch (IllegalArgumentException ex) {
throw new ObjectCreationException("Failed to create instance for property " + property
.getName()
+ " with value "
+ aValue
+ " from value list of "
+ propertyValue, ex);