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

Method text

src/main/java/org/jsoup/nodes/Element.java:817–837  ·  view source on GitHub ↗

Gets the combined text of this element and all its children. For example, given HTML Hello there now! , p.text() returns "Hello there now!" @return unencoded text, or empty string if none. @see #ownText() @see #textNodes()

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

testYahooJpMethod · 0.95
testNytArticleMethod · 0.95
testYahooArticleMethod · 0.95
handlesEscapedDataMethod · 0.95
handlesCdataMethod · 0.95
handlesJavadocFontMethod · 0.95
handlesSolidusInAMethod · 0.95
testTextBeanMethod · 0.95

Calls 6

notNullMethod · 0.95
emptyMethod · 0.95
appendChildMethod · 0.95
trimMethod · 0.80
traverseMethod · 0.45
toStringMethod · 0.45

Tested by 15

testYahooJpMethod · 0.76
testNytArticleMethod · 0.76
testYahooArticleMethod · 0.76
handlesEscapedDataMethod · 0.76
handlesCdataMethod · 0.76
handlesJavadocFontMethod · 0.76
handlesSolidusInAMethod · 0.76
testTextBeanMethod · 0.76