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

Method absUrl

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

Get an absolute URL from a URL attribute that may be relative (i.e. an <a href> or <img src> ). E.g.: String absUrl = linkEl.absUrl("href"); If the attribute value is already absolute (i.e. it starts with a protocol, like http:// or

(String attributeKey)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

attrMethod · 0.95
hasAttrMethod · 0.95
testBaiduMethod · 0.45
handlesBaseTagsMethod · 0.45
parsesBodyFragmentMethod · 0.45
testSimpleXmlParseMethod · 0.45
xmlFragmentMethod · 0.45
handlesBaseUriMethod · 0.45
handlesAbsOnImageMethod · 0.45
handleAbsOnFileUrisMethod · 0.45

Calls 3

notEmptyMethod · 0.95
attrMethod · 0.95
hasAttrMethod · 0.95

Tested by 12

testBaiduMethod · 0.36
handlesBaseTagsMethod · 0.36
parsesBodyFragmentMethod · 0.36
testSimpleXmlParseMethod · 0.36
xmlFragmentMethod · 0.36
handlesBaseUriMethod · 0.36
handlesAbsOnImageMethod · 0.36
handleAbsOnFileUrisMethod · 0.36