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

Method clean

src/main/java/org/jsoup/safety/Cleaner.java:41–49  ·  view source on GitHub ↗

Creates a new, clean document, from the original dirty document, containing only elements allowed by the whitelist. The original document is not modified. Only elements from the dirt document's body are used. @param dirtyDocument Untrusted base document to clean. @return

(Document dirtyDocument)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

cleanMethod · 0.95

Calls 6

notNullMethod · 0.95
createShellMethod · 0.95
copySafeNodesMethod · 0.95
bodyMethod · 0.95
baseUriMethod · 0.80
bodyMethod · 0.65

Tested by

no test coverage detected