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

Method text

src/main/java/org/jsoup/nodes/Document.java:188–192  ·  view source on GitHub ↗

Set the text of the body of this document. Any existing nodes within the body will be cleared. @param text unencoded text @return this document

(String text)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

testBinaryMethod · 0.95
testHtml5CharsetMethod · 0.95
handlesDodgyCharsetMethod · 0.95
dropsUnterminatedTagMethod · 0.95
handlesDataOnlyTagsMethod · 0.95
testGetTextMethod · 0.95
testNormalisesTextMethod · 0.95
testKeepsPreTextMethod · 0.95
testBrHasSpaceMethod · 0.95

Calls 1

bodyMethod · 0.95

Tested by 14

testBinaryMethod · 0.76
testHtml5CharsetMethod · 0.76
handlesDodgyCharsetMethod · 0.76
dropsUnterminatedTagMethod · 0.76
handlesDataOnlyTagsMethod · 0.76
testGetTextMethod · 0.76
testNormalisesTextMethod · 0.76
testKeepsPreTextMethod · 0.76
testBrHasSpaceMethod · 0.76