MCPcopy Create free account
hub / github.com/code4craft/jsoup-learning / unwrap

Method unwrap

src/main/java/org/jsoup/nodes/Node.java:372–381  ·  view source on GitHub ↗

Removes this node from the DOM, and moves its children up into the node's parent. This has the effect of dropping the node but keeping its children. For example, with the input html: One Two Three Calling element.unwrap() on the {@code sp

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 6

notNullMethod · 0.95
childNodesAsArrayMethod · 0.95
removeMethod · 0.95
addChildrenMethod · 0.80
getMethod · 0.65
sizeMethod · 0.45

Tested by

no test coverage detected