@Override public void replaceAttributes(Attributes oldAttrs, Attributes newAttrs) { flushAnnotations(); normalizer.replaceAttributes(this.oldAttrs, newAttrs); target = defaultTarget; }
@Override public void replaceAttributes(Attributes oldAttrs, Attributes newAttrs) { flushAnnotations(); normalizer.replaceAttributes(oldAttrs, newAttrs); cancelRetain(1); }
public final SimplifyingDocOpBuilder replaceAttributes(Attributes oldAttrs, Attributes newAttrs) { buffer.replaceAttributes(oldAttrs, newAttrs); return this; }
@Override void resolve(int itemCount) { targetDocument.replaceAttributes(oldAttributes, newAttributes); otherTarget.targetDocument.retain(1); }
@Override public void replaceAttributes(Attributes oldAttrs, Attributes newAttrs) { flushAnnotations(); normalizer.replaceAttributes(oldAttrs, newAttrs); cancelRetain(1); }
@Override public void retain(int itemCount) { flushAnnotations(); normalizer.replaceAttributes(oldAttrs, newAttrs); if (itemCount > 1) { target = new RetainPreTarget(itemCount - 1); } else { target = defaultTarget; } }
@Override public void updateAttributes(AttributesUpdate attrUpdate) { flushAnnotations(); normalizer.replaceAttributes(oldAttrs, newAttrs.updateWith(attrUpdate)); target = defaultTarget; }
@Override void resolveReplaceAttributes(Attributes oldAttributes, Attributes newAttributes) { syncAnnotations(); targetDocument.retain(1); otherTarget.targetDocument.replaceAttributes(oldAttributes.updateWith(update), newAttributes); }
@Override void resolveUpdateAttributes(AttributesUpdate update) { syncAnnotations(); targetDocument.replaceAttributes(this.oldAttributes.updateWith(update), this.newAttributes); otherTarget.targetDocument.retain(1); }
@Override void resolve(int itemCount) { targetDocument.replaceAttributes(oldAttributes, newAttributes); otherTarget.targetDocument.retain(1); }
@Override void resolveRetain(int itemCount) { targetDocument.replaceAttributes(oldAttributes, newAttributes); otherTarget.targetDocument.retain(1); }
@Override void resolveReplaceAttributes(Attributes oldAttributes, Attributes newAttributes) { targetDocument.replaceAttributes(newAttributes, this.newAttributes); otherTarget.targetDocument.retain(1); }
@Override void resolveReplaceAttributes(Attributes oldAttributes, Attributes newAttributes) { targetDocument.retain(1); otherTarget.targetDocument.replaceAttributes(oldAttributes, newAttributes); }
@Override void resolveRetain(int itemCount) { targetDocument.replaceAttributes(oldAttributes, newAttributes); otherTarget.targetDocument.retain(1); }
private void processReplaceAttributes(Attributes oldAttributes, Attributes newAttributes) { annotationResidue.retain(1); deletionOperation.retain(1); preservationOperation.replaceAttributes(oldAttributes, newAttributes); propagatingAnnotations.clear(); }
@Override public void replaceAttributes(Attributes oldAttrs, Attributes newAttrs) { insertionOp.retain(1); preservationOp.replaceAttributes(oldAttrs, newAttrs); deletionOp.retain(1); }
@Override void resolveUpdateAttributes(AttributesUpdate update) { targetDocument.replaceAttributes(this.oldAttributes.updateWith(update), this.newAttributes); otherTarget.targetDocument.retain(1); }
@Override void resolveReplaceAttributes(Attributes oldAttributes, Attributes newAttributes) { targetDocument.retain(1); otherTarget.targetDocument.replaceAttributes(oldAttributes.updateWith(update), newAttributes); }
@Override public void replaceAttributes(Attributes oldAttrs, Attributes newAttrs) { insertionOp.retain(1); preservationOp.replaceAttributes(oldAttrs, newAttrs); deletionOp.retain(1); }
@Override void resolveUpdateAttributes(AttributesUpdate update) { targetDocument.replaceAttributes(this.oldAttributes.updateWith(update), this.newAttributes); otherTarget.targetDocument.retain(1); }