| 程序包 | 说明 |
|---|---|
| org.seimicrawler.xpath.core | |
| org.seimicrawler.xpath.core.function | |
| org.seimicrawler.xpath.core.node | |
| org.seimicrawler.xpath.util |
| 限定符和类型 | 方法和说明 |
|---|---|
static Scope |
Scope.create(org.jsoup.nodes.Element el) |
static Scope |
Scope.create(org.jsoup.select.Elements elements) |
static Scope |
Scope.create(Scope scope) |
Scope |
Scope.getParent() |
Scope |
Scope.setParent(Scope scope) |
| 限定符和类型 | 方法和说明 |
|---|---|
XValue |
NodeTest.call(Scope scope)
函数具体逻辑
|
XValue |
Function.call(Scope scope,
java.util.List<XValue> params) |
static Scope |
Scope.create(Scope scope) |
Scope |
Scope.setParent(Scope scope) |
| 限定符和类型 | 方法和说明 |
|---|---|
XValue |
SubStringEx.call(Scope scope,
java.util.List<XValue> params) |
XValue |
SubStringBefore.call(Scope scope,
java.util.List<XValue> params) |
XValue |
SubStringAfter.call(Scope scope,
java.util.List<XValue> params) |
XValue |
SubString.call(Scope scope,
java.util.List<XValue> params) |
XValue |
StringLength.call(Scope scope,
java.util.List<XValue> params) |
XValue |
StartsWith.call(Scope scope,
java.util.List<XValue> params) |
XValue |
Position.call(Scope scope,
java.util.List<XValue> params) |
XValue |
Not.call(Scope scope,
java.util.List<XValue> params) |
XValue |
Last.call(Scope scope,
java.util.List<XValue> params) |
XValue |
First.call(Scope scope,
java.util.List<XValue> params) |
XValue |
Count.call(Scope scope,
java.util.List<XValue> params) |
XValue |
Contains.call(Scope scope,
java.util.List<XValue> params) |
XValue |
Concat.call(Scope scope,
java.util.List<XValue> params) |
| 限定符和类型 | 方法和说明 |
|---|---|
XValue |
Text.call(Scope scope)
函数具体逻辑
|
XValue |
OuterHtml.call(Scope scope) |
XValue |
Num.call(Scope scope)
函数具体逻辑
|
XValue |
Node.call(Scope scope)
函数具体逻辑
|
XValue |
Html.call(Scope scope) |
XValue |
AllText.call(Scope scope)
函数具体逻辑
|
| 限定符和类型 | 方法和说明 |
|---|---|
static int |
CommonUtil.getElIndexInSameTags(org.jsoup.nodes.Element e,
Scope scope)
获取同名元素在同胞中的index
|
static int |
CommonUtil.getIndexInContext(Scope scope,
org.jsoup.nodes.Element el) |
static int |
CommonUtil.sameTagElNums(org.jsoup.nodes.Element e,
Scope scope)
获取同胞中同名元素的数量
|
Copyright © 2018. All Rights Reserved.