output.replaceAttributes(new AttributesImpl(oldAttributesMap),
new AttributesImpl(newAttributesMap));
}
} else if (c.hasUpdateAttributes()) {
if (c.getUpdateAttributes().getEmpty()) {
output.updateAttributes(AttributesUpdateImpl.EMPTY_MAP);
} else {
String[] triplets = new String[c.getUpdateAttributes().getAttributeUpdateCount()*3];
for (int i = 0, j = 0; i < c.getUpdateAttributes().getAttributeUpdateCount(); i++) {
ProtocolDocumentOperation.Component.KeyValueUpdate kvu =
c.getUpdateAttributes().getAttributeUpdate(i);