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

Method getDescendants

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

Returns an Iterable that will recursively iterate over all of this node's descendants, including DomText elements, DomComment elements, etc. If you want to iterate only over HtmlElement descendants, please use #getHtmlElementDescendants(). @return an {@link It

()

Source from the content-addressed store, hash-verified

1451 * @return an {@link Iterable} that will recursively iterate over all of this node's descendants
1452 */
1453 public final Iterable<DomNode> getDescendants() {
1454 return () -> new DescendantDomNodesIterator();
1455 }
1456
1457 /**
1458 * Returns an {@link Iterable} that will recursively iterate over all of this node's {@link HtmlElement}

Callers 6

importNodeMethod · 0.95
basicRemoveMethod · 0.95
cloneContentsMethod · 0.95
containedNodesMethod · 0.95
AbstractListClass · 0.80
deleteContentsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected