E deleted = deletedEvent.getRoot(); Point<N> deletedLocation = doc.locate(deletedEvent.getLocation()); E parent = Point.enclosingElement(doc, deletedLocation); CopyOnWriteSet<ElementListener<E>> listeners = elementListenerMap.get(parent);
public ContentDeleted<N, E, T> build() { return new ContentDeleted<N, E, T>(start, size, tokens, root); }
private DocumentEvent<Node, Element, Text> cd(int loc, int size, List<ContentDeleted.Token> tokens) { return new ContentDeleted<Node, Element, Text>(loc, size, tokens, null); }
private DocumentEvent<Node, Element, Text> cd(int loc, int size, List<ContentDeleted.Token> tokens) { return new ContentDeleted<Node, Element, Text>(loc, size, tokens, null); }