for (KeyValueUpdate kvu : u.getAttributeUpdate()) {
triplets[i++] = kvu.getKey();
triplets[i++] = kvu.hasOldValue() ? kvu.getOldValue() : null;
triplets[i++] = kvu.hasNewValue() ? kvu.getNewValue() : null;
}
output.updateAttributes(new AttributesUpdateImpl(triplets));
}
} else {
// throw new
// IllegalArgumentException("Unsupported operation component: " + c);
}