T - public class HtmlQuery<T extends org.jsoup.nodes.Element> extends Object
moveIndexByTagEq(java.util.function.ToIntBiFunction<org.jsoup.select.Elements, org.jsoup.nodes.Element>) prevByTagEq() nextByTagEq() breakParentByTagName(String)| 限定符和类型 | 方法和说明 |
|---|---|
String |
attr(String attributeKey) |
HtmlQuery<org.jsoup.nodes.Element> |
breakParentByTagName(String tagName) |
T |
getElement() |
static String |
inlineCss(String html)
css样式内联, 转行内样式
|
boolean |
isEmpty() |
HtmlQuery<org.jsoup.nodes.Element> |
moveIndexByTagEq(ToIntBiFunction<org.jsoup.select.Elements,org.jsoup.nodes.Element> choseIndexFn)
同级相同元素移动下标
|
HtmlQuery<org.jsoup.nodes.Element> |
nextByTagEq() |
HtmlQuery<org.jsoup.nodes.Element> |
prevByTagEq() |
String |
selectAttr(String cssQuery,
String attr,
int index) |
List<String> |
selectAttrs(String cssQuery,
String attr) |
HtmlQuery<org.jsoup.nodes.Element> |
selectElement(String cssQuery,
int index) |
String |
selectText(String cssQuery,
int index) |
List<String> |
selectTexts(String cssQuery) |
String |
selectTextValueContaining(String match,
int index) |
String |
text() |
String |
toString() |
static HtmlQuery<org.jsoup.nodes.Document> |
valueOf(String html) |
static <T extends org.jsoup.nodes.Element> |
valueOf(T element) |
public static final HtmlQuery EMPTY
public static <T extends org.jsoup.nodes.Element> HtmlQuery<T> valueOf(T element)
public T getElement()
public boolean isEmpty()
public String text()
public HtmlQuery<org.jsoup.nodes.Element> moveIndexByTagEq(ToIntBiFunction<org.jsoup.select.Elements,org.jsoup.nodes.Element> choseIndexFn)
choseIndexFn - 选择下标方法public HtmlQuery<org.jsoup.nodes.Element> prevByTagEq()
public HtmlQuery<org.jsoup.nodes.Element> nextByTagEq()
Copyright © 2022. All rights reserved.