public class PlainText extends AbstractSelectable
| 限定符和类型 | 字段和说明 |
|---|---|
protected List<String> |
sourceTexts |
| 限定符和类型 | 方法和说明 |
|---|---|
Selectable |
$(String selector)
select list with css selector
|
Selectable |
$(String selector,
String attrName)
select list with css selector
|
static PlainText |
create(String text) |
protected List<String> |
getSourceTexts() |
Selectable |
links()
select all links
|
List<Selectable> |
nodes()
get all nodes
|
Selectable |
smartContent()
select smart content with ReadAbility algorithm
|
Selectable |
xpath(String xpath)
select list with xpath
|
all, css, css, get, getFirstSourceText, jsonPath, match, regex, regex, replace, select, select, selectList, selectList, toStringpublic PlainText(String text)
public Selectable xpath(String xpath)
Selectablexpath - xpathpublic Selectable $(String selector)
Selectableselector - css selector expressionpublic Selectable $(String selector, String attrName)
Selectableselector - css selector expressionattrName - attribute name of css selectorpublic Selectable smartContent()
Selectablepublic Selectable links()
Selectablepublic List<Selectable> nodes()
Selectableprotected List<String> getSourceTexts()
getSourceTexts 在类中 AbstractSelectableCopyright © 2016. All rights reserved.