// Add all matching properties to result
try {
PropertyIterator it = node.getProperties(name);
while (it.hasNext()) {
Property prop = it.nextProperty();
int type = prop.getType();
if (prop.getDefinition().isMultiple()) {
Value[] values = prop.getValues();
for (int i=0;i<values.length;i++) {
items.add(wrap(values[i]));