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

Method isValid

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

Determines if the input document is valid, against the whitelist. It is considered valid if all the tags and attributes in the input HTML are allowed by the whitelist. This method can be used as a validator for user input forms. An invalid document will still be cleaned successfu

(Document dirtyDocument)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

isValidMethod · 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