* @param value
* @param resolver
* @throws RepositoryException
*/
private void addPart(String paramName, QValue value, NamePathResolver resolver) throws RepositoryException {
Part part;
switch (value.getType()) {
case PropertyType.BINARY:
part = new BinaryPart(paramName, new BinaryPartSource(value), JcrValueType.contentTypeFromType(PropertyType.BINARY), DEFAULT_CHARSET);
break;
case PropertyType.NAME: