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

Method removeAllChildren

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

Removes all of this node's children.

()

Source from the content-addressed store, hash-verified

1122 * Removes all of this node's children.
1123 */
1124 public void removeAllChildren() {
1125 while (getFirstChild() != null) {
1126 getFirstChild().remove();
1127 }
1128 }
1129
1130 /**
1131 * <span style="color:red">INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.</span><br>

Callers 8

removeAllChildrenMethod · 0.95
replaceChildrenMethod · 0.95
setInnerTextMethod · 0.95
setTextContentMethod · 0.95
setTextContentMethod · 0.95
setTextMethod · 0.45
setInnerHtmlMethod · 0.45
setTextMethod · 0.45

Calls 2

getFirstChildMethod · 0.95
removeMethod · 0.45

Tested by 1

removeAllChildrenMethod · 0.76