public abstract class BaseElementSelector extends Object implements Selector, ElementSelector
Constructor and Description |
---|
BaseElementSelector() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
hasAttribute() |
String |
select(String text)
Extract single result in text.
If there are more than one result, only the first will be chosen. |
abstract org.jsoup.nodes.Element |
selectElement(org.jsoup.nodes.Element element) |
org.jsoup.nodes.Element |
selectElement(String text) |
abstract List<org.jsoup.nodes.Element> |
selectElements(org.jsoup.nodes.Element element) |
List<org.jsoup.nodes.Element> |
selectElements(String text) |
List<String> |
selectList(String text)
Extract all results in text.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
select, selectList
public String select(String text)
Selector
public List<String> selectList(String text)
Selector
selectList
in interface Selector
text
- textpublic org.jsoup.nodes.Element selectElement(String text)
public abstract org.jsoup.nodes.Element selectElement(org.jsoup.nodes.Element element)
public abstract List<org.jsoup.nodes.Element> selectElements(org.jsoup.nodes.Element element)
public abstract boolean hasAttribute()
Copyright © 2017. All rights reserved.