@Override public void replaceAttributes(Attributes oldAttrs, Attributes newAttrs) { flushAnnotations(); normalizer.elementStart(type, newAttrs); target = defaultTarget; }
@Override public void deleteElementStart(String type, Attributes attrs) { target.elementStart(type, attrs); }
@Override public void elementStart(String type, Attributes attrs) { flushAnnotations(); target.elementStart(type, attrs); }
@Override public void elementStart(String type, Attributes attrs) { insertionOp.elementStart(type, attrs); noninsertionOp.retain(1); }
@Override public void elementStart(String type, Attributes attrs) { cache.flush(); target.elementStart(type, attrs); }
@Override public final void elementStart(String type, Attributes attrs) { postAnnotationQueue.flush(); normalizer.elementStart(type, attrs); }
@Override public void elementStart(String type, Attributes attrs) { flushAnnotations(); normalizer.elementStart(type, attrs); cancelRetain(1); }
@Override public void elementStart(String tag, Attributes attrs) { targetDocument.elementStart(tag, attrs); otherTarget.targetDocument.retain(1); }
@Override public void updateAttributes(AttributesUpdate attrUpdate) { flushAnnotations(); normalizer.elementStart(type, attrs.updateWith(attrUpdate)); target = defaultTarget; }
@Override public void retain(int itemCount) { flushAnnotations(); normalizer.elementStart(type, attrs); if (itemCount > 1) { target = new RetainPreTarget(itemCount - 1); } else { target = defaultTarget; } }
public final SimplifyingDocOpBuilder elementStart(String type, Attributes attrs) { buffer.elementStart(type, attrs); return this; }
@Override public void elementStart(String tag, Attributes attrs) { if (otherTarget.depth > 0) { otherTarget.targetDocument.deleteElementStart(tag, attrs); } else { targetDocument.elementStart(tag, attrs); otherTarget.targetDocument.retain(1); } }
@Override public void elementStart(String tag, Attributes attrs) { targetDocument.elementStart(tag, attrs); otherTarget.targetDocument.retain(1); }
@Override public void elementStart(String tag, Attributes attrs) { targetDocument.elementStart(tag, attrs); otherTarget.targetDocument.retain(1); }
@Override public void elementStart(String tag, Attributes attrs) { targetDocument.elementStart(tag, attrs); otherTarget.targetDocument.retain(1); }
@Override public void elementStart(String tag, Attributes attrs) { targetDocument.elementStart(tag, attrs); otherTarget.targetDocument.retain(1); }
@Override public void elementStart(String type, Attributes attrs) { insertionOp.elementStart(type, attrs); preservationOp.retain(1); deletionOp.retain(1); }
@Override public void elementStart(String tag, Attributes attrs) { if (otherTarget.depth > 0) { otherTarget.targetDocument.deleteElementStart(tag, attrs); } else { targetDocument.elementStart(tag, attrs); otherTarget.targetDocument.retain(1); } }
@Override public void elementStart(String type, Attributes attrs) { insertionOp.elementStart(type, attrs); preservationOp.retain(1); deletionOp.retain(1); }
@Override public void elementStart(String tag, Attributes attrs) { if (otherTarget.depth > 0) { otherTarget.targetDocument.deleteElementStart(tag, attrs); } else { targetDocument.elementStart(tag, attrs); otherTarget.targetDocument.retain(1); } }