| Modifier and Type | Method and Description |
|---|---|
static String |
getAnchorFromUrl(String url)
Extracts the anchor portion from a URL.
|
static boolean |
isChildOf(org.jsoup.nodes.Element child,
org.jsoup.select.Elements possibleParents)
Determines whether the given element is a child of one of the given
parent elements.
|
static org.jsoup.nodes.Element |
toElement(String html)
Converts an HTML string to an HTML element.
|
static org.jsoup.nodes.Element |
toElement(String html,
String baseUrl)
Converts an HTML string to an HTML element.
|
public static boolean isChildOf(org.jsoup.nodes.Element child, org.jsoup.select.Elements possibleParents)
child - the child elementpossibleParents - the possible parentspublic static org.jsoup.nodes.Element toElement(String html)
html - the HTMLpublic static org.jsoup.nodes.Element toElement(String html, String baseUrl)
html - the HTMLbaseUrl - the base URLpublic static String getAnchorFromUrl(String url)
url - the full URLCopyright © 2012–2026 Michael Angstadt. All rights reserved.