MCPcopy Index your code
hub / github.com/HtmlUnit/htmlunit / detach

Method detach

src/main/java/org/htmlunit/html/DomNode.java:1157–1163  ·  view source on GitHub ↗

INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK. Detach this node from all relationships with other nodes. This is the first step of a move.

()

Source from the content-addressed store, hash-verified

1155 * This is the first step of a move.
1156 */
1157 protected void detach() {
1158 final DomNode exParent = parent_;
1159
1160 basicRemove();
1161
1162 fireRemoval(exParent);
1163 }
1164
1165 /**
1166 * Cuts off all relationships this node has with siblings and parents.

Callers 4

appendChildMethod · 0.95
removeMethod · 0.95
insertBeforeMethod · 0.45
moveBeforeMethod · 0.45

Calls 2

basicRemoveMethod · 0.95
fireRemovalMethod · 0.95

Tested by

no test coverage detected