| Modifier and Type | Method and Description |
|---|---|
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 HTMLCopyright © 2012–2023 Michael Angstadt. All rights reserved.