您的浏览器已禁用 JavaScript。
概览
程序包
类
使用
树
已过时
索引
帮助
上一个
下一个
框架
无框架
所有类
A
C
D
E
F
G
H
J
L
M
N
O
P
S
T
V
X
A
allText(Elements)
- 类 中的方法cn.wanghaomiao.xpath.core.
Functions
递归获取节点内全部的纯文本
allText(Element)
- 类 中的方法cn.wanghaomiao.xpath.core.
Functions
获取元素下面的全部文本
ancestor(Element)
- 类 中的方法cn.wanghaomiao.xpath.core.
AxisSelector
全部祖先节点 父亲,爷爷 , 爷爷的父亲...
ancestorOrSelf(Element)
- 类 中的方法cn.wanghaomiao.xpath.core.
AxisSelector
全部祖先节点和自身节点
AxisSelector
-
cn.wanghaomiao.xpath.core
中的类
通过轴选出对应作用域的全部节点 去掉不实用的轴,不支持namespace,attribute(可用 /@*代替),preceding(preceding-sibling支持),following(following-sibling支持) 添加 preceding-sibling-one,following-sibling-one,即只选前一个或后一个兄弟节点,添加 sibling 选取全部兄弟节点
AxisSelector()
- 类 的构造器cn.wanghaomiao.xpath.core.
AxisSelector
C
callFilterFunc(String, Element)
- 类 中的方法cn.wanghaomiao.xpath.core.
XpathEvaluator
调用谓语中函数
callFunc(String, Elements)
- 类 中的方法cn.wanghaomiao.xpath.core.
XpathEvaluator
调用xpath主干上的函数
child(Element)
- 类 中的方法cn.wanghaomiao.xpath.core.
AxisSelector
直接子节点
cn.wanghaomiao.example
- 程序包 cn.wanghaomiao.example
cn.wanghaomiao.xpath.core
- 程序包 cn.wanghaomiao.xpath.core
cn.wanghaomiao.xpath.exception
- 程序包 cn.wanghaomiao.xpath.exception
cn.wanghaomiao.xpath.model
- 程序包 cn.wanghaomiao.xpath.model
cn.wanghaomiao.xpath.util
- 程序包 cn.wanghaomiao.xpath.util
CommonUtil
-
cn.wanghaomiao.xpath.util
中的类
CommonUtil()
- 类 的构造器cn.wanghaomiao.xpath.util.
CommonUtil
commOpChar
- 类 中的变量cn.wanghaomiao.xpath.util.
EmMap
contains(String, String)
- 类 中的方法cn.wanghaomiao.xpath.core.
Functions
判断是否包含
D
descendant(Element)
- 类 中的方法cn.wanghaomiao.xpath.core.
AxisSelector
全部子代节点 儿子,孙子,孙子的儿子...
descendantOrSelf(Element)
- 类 中的方法cn.wanghaomiao.xpath.core.
AxisSelector
全部子代节点和自身
E
EmMap
-
cn.wanghaomiao.xpath.util
中的类
evaluate(String, Elements)
- 类 中的方法cn.wanghaomiao.xpath.core.
XpathEvaluator
根据xpath求出结果
excute(String, String)
- 枚举 中的方法cn.wanghaomiao.xpath.util.
OpEm
F
filter(Element, Node)
- 类 中的方法cn.wanghaomiao.xpath.core.
XpathEvaluator
元素过滤器
first(Element)
- 类 中的方法cn.wanghaomiao.xpath.core.
Functions
判断一个元素是不是同名同胞中的第一个
followingSibling(Element)
- 类 中的方法cn.wanghaomiao.xpath.core.
AxisSelector
节点后面的全部同胞节点following-sibling
followingSiblingOne(Element)
- 类 中的方法cn.wanghaomiao.xpath.core.
AxisSelector
返回下一个同胞节点(扩展) 语法 following-sibling-one
Functions
-
cn.wanghaomiao.xpath.core
中的类
xpath解析器的支持的全部函数集合,如需扩展按形式添加即可
Functions()
- 类 的构造器cn.wanghaomiao.xpath.core.
Functions
G
genPredicate(String)
- 类 中的方法cn.wanghaomiao.xpath.core.
NodeTreeBuilderStateMachine
根据谓语字符串初步生成谓语体
getAxis()
- 类 中的方法cn.wanghaomiao.xpath.model.
Node
getAxisScopeEls(String, Element)
- 类 中的方法cn.wanghaomiao.xpath.core.
XpathEvaluator
调用轴选择器
getAxisSelector()
- 类 中的方法cn.wanghaomiao.xpath.core.
SingletonProducer
getElIndex(Element)
- 类 中的方法cn.wanghaomiao.xpath.core.
XpathEvaluator
getElIndexInSameTags(Element)
- 类 中的静态方法cn.wanghaomiao.xpath.util.
CommonUtil
获取同名元素在同胞中的index
getFunctions()
- 类 中的方法cn.wanghaomiao.xpath.core.
SingletonProducer
getInstance()
- 类 中的静态方法cn.wanghaomiao.xpath.core.
SingletonProducer
getInstance()
- 类 中的静态方法cn.wanghaomiao.xpath.util.
EmMap
getJMethodNameFromStr(String)
- 类 中的静态方法cn.wanghaomiao.xpath.util.
CommonUtil
getLeft()
- 类 中的方法cn.wanghaomiao.xpath.model.
Predicate
getOpEm()
- 类 中的方法cn.wanghaomiao.xpath.model.
Predicate
getPredicate()
- 类 中的方法cn.wanghaomiao.xpath.model.
Node
getRight()
- 类 中的方法cn.wanghaomiao.xpath.model.
Predicate
getScopeEm()
- 类 中的方法cn.wanghaomiao.xpath.model.
Node
getTagName()
- 类 中的方法cn.wanghaomiao.xpath.model.
Node
getValue()
- 类 中的方法cn.wanghaomiao.xpath.model.
Predicate
getXpathNodeTree(String)
- 类 中的方法cn.wanghaomiao.xpath.core.
XpathEvaluator
获取xpath解析语法树
H
html(Elements)
- 类 中的方法cn.wanghaomiao.xpath.core.
Functions
获取全部节点的内部的html
J
JXDocument
-
cn.wanghaomiao.xpath.model
中的类
JXDocument(Document)
- 类 的构造器cn.wanghaomiao.xpath.model.
JXDocument
JXDocument(String)
- 类 的构造器cn.wanghaomiao.xpath.model.
JXDocument
JXDocument(Elements)
- 类 的构造器cn.wanghaomiao.xpath.model.
JXDocument
L
last(Element)
- 类 中的方法cn.wanghaomiao.xpath.core.
Functions
判断一个元素是不是最后一个同名同胞中的
M
main(String[])
- 类 中的静态方法cn.wanghaomiao.example.
XpathTest
N
node(Elements)
- 类 中的方法cn.wanghaomiao.xpath.core.
Functions
获取全部节点
Node
-
cn.wanghaomiao.xpath.model
中的类
xpath语法链的一个基本节点
Node()
- 类 的构造器cn.wanghaomiao.xpath.model.
Node
NodeTreeBuilderStateMachine
-
cn.wanghaomiao.xpath.core
中的类
用于生成xpath语法树的有限状态机
NodeTreeBuilderStateMachine()
- 类 的构造器cn.wanghaomiao.xpath.core.
NodeTreeBuilderStateMachine
NoSuchAxisException
-
cn.wanghaomiao.xpath.exception
中的异常错误
使用不存在的轴语法则抛出此异常
NoSuchAxisException(String)
- 异常错误 的构造器cn.wanghaomiao.xpath.exception.
NoSuchAxisException
NoSuchFunctionException
-
cn.wanghaomiao.xpath.exception
中的异常错误
NoSuchFunctionException(String)
- 异常错误 的构造器cn.wanghaomiao.xpath.exception.
NoSuchFunctionException
num(Elements)
- 类 中的方法cn.wanghaomiao.xpath.core.
Functions
抽取节点自有文本中全部数字
O
OpEm
-
cn.wanghaomiao.xpath.util
中的枚举
操作符
opEmMap
- 类 中的变量cn.wanghaomiao.xpath.util.
EmMap
outerHtml(Elements)
- 类 中的方法cn.wanghaomiao.xpath.core.
Functions
获取全部节点的 包含节点本身在内的全部html
P
parent(Element)
- 类 中的方法cn.wanghaomiao.xpath.core.
AxisSelector
父节点
position(Element)
- 类 中的方法cn.wanghaomiao.xpath.core.
Functions
返回一个元素在同名兄弟节点中的位置
precedingSibling(Element)
- 类 中的方法cn.wanghaomiao.xpath.core.
AxisSelector
节点前面的全部同胞节点,preceding-sibling
precedingSiblingOne(Element)
- 类 中的方法cn.wanghaomiao.xpath.core.
AxisSelector
返回前一个同胞节点(扩展),语法 preceding-sibling-one
Predicate
-
cn.wanghaomiao.xpath.model
中的类
xpath语法节点的谓语部分,即要满足的限定条件
Predicate()
- 类 的构造器cn.wanghaomiao.xpath.model.
Predicate
S
sameTagElNums(Element)
- 类 中的静态方法cn.wanghaomiao.xpath.util.
CommonUtil
获取同胞中同名元素的数量
ScopeEm
-
cn.wanghaomiao.xpath.util
中的枚举
筛选作用域
scopeEmMap
- 类 中的变量cn.wanghaomiao.xpath.util.
EmMap
sel(String)
- 类 中的方法cn.wanghaomiao.xpath.model.
JXDocument
self(Element)
- 类 中的方法cn.wanghaomiao.xpath.core.
AxisSelector
自身
setAxis(String)
- 类 中的方法cn.wanghaomiao.xpath.model.
Node
setLeft(String)
- 类 中的方法cn.wanghaomiao.xpath.model.
Predicate
setOpEm(OpEm)
- 类 中的方法cn.wanghaomiao.xpath.model.
Predicate
setPredicate(Predicate)
- 类 中的方法cn.wanghaomiao.xpath.model.
Node
setRight(String)
- 类 中的方法cn.wanghaomiao.xpath.model.
Predicate
setScopeEm(ScopeEm)
- 类 中的方法cn.wanghaomiao.xpath.model.
Node
setTagName(String)
- 类 中的方法cn.wanghaomiao.xpath.model.
Node
setValue(String)
- 类 中的方法cn.wanghaomiao.xpath.model.
Predicate
sibling(Element)
- 类 中的方法cn.wanghaomiao.xpath.core.
AxisSelector
全部同胞(扩展)
SingletonProducer
-
cn.wanghaomiao.xpath.core
中的类
T
text(Elements)
- 类 中的方法cn.wanghaomiao.xpath.core.
Functions
只获取节点自身的子文本
text(Element)
- 类 中的方法cn.wanghaomiao.xpath.core.
Functions
获取元素自己的子文本
V
val()
- 枚举 中的方法cn.wanghaomiao.xpath.util.
OpEm
val()
- 枚举 中的方法cn.wanghaomiao.xpath.util.
ScopeEm
valueOf(String)
- 枚举 中的静态方法cn.wanghaomiao.xpath.util.
OpEm
返回带有指定名称的该类型的枚举常量。
valueOf(String)
- 枚举 中的静态方法cn.wanghaomiao.xpath.util.
ScopeEm
返回带有指定名称的该类型的枚举常量。
values()
- 枚举 中的静态方法cn.wanghaomiao.xpath.util.
OpEm
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values()
- 枚举 中的静态方法cn.wanghaomiao.xpath.util.
ScopeEm
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
X
XContext
-
cn.wanghaomiao.xpath.core
中的类
XContext()
- 类 的构造器cn.wanghaomiao.xpath.core.
XContext
XpathEvaluator
-
cn.wanghaomiao.xpath.core
中的类
XpathEvaluator()
- 类 的构造器cn.wanghaomiao.xpath.core.
XpathEvaluator
xpathParser(String, Elements)
- 类 中的方法cn.wanghaomiao.xpath.core.
XpathEvaluator
xpath解析器的总入口,同时预处理,如‘|’
XpathSyntaxErrorException
-
cn.wanghaomiao.xpath.exception
中的异常错误
XpathSyntaxErrorException(String)
- 异常错误 的构造器cn.wanghaomiao.xpath.exception.
XpathSyntaxErrorException
XpathTest
-
cn.wanghaomiao.example
中的类
XpathTest()
- 类 的构造器cn.wanghaomiao.example.
XpathTest
xpathTr
- 类 中的变量cn.wanghaomiao.xpath.core.
XContext
A
C
D
E
F
G
H
J
L
M
N
O
P
S
T
V
X
概览
程序包
类
使用
树
已过时
索引
帮助
上一个
下一个
框架
无框架
所有类
Copyright © 2015. All Rights Reserved.