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, waitselect, selectListpublic String select(String text)
Selectorpublic List<String> selectList(String text)
SelectorselectList in interface Selectortext - 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.