Value[] jcrValues = new Value[values.length];
for (int i = 0; i < values.length; i++) {
jcrValues[i] = ValueFormat.getJCRValue(values[i], resolver, valueFactory);
}
DavProperty<List<XmlSerializable>> vp = createValuesProperty(jcrValues);
PutMethod method = new PutMethod(uri);
method.setRequestBody(vp);
methods.add(method);
} catch (IOException e) {
throw new RepositoryException(e);
}