A C D E F G H J L M N O P S T V X 

A

allText(Elements) - Method in class cn.wanghaomiao.xpath.core.Functions
递归获取节点内全部的纯文本
allText(Element) - Method in class cn.wanghaomiao.xpath.core.Functions
获取元素下面的全部文本
ancestor(Element) - Method in class cn.wanghaomiao.xpath.core.AxisSelector
全部祖先节点 父亲,爷爷 , 爷爷的父亲...
ancestorOrSelf(Element) - Method in class cn.wanghaomiao.xpath.core.AxisSelector
全部祖先节点和自身节点
AxisSelector - Class in cn.wanghaomiao.xpath.core
通过轴选出对应作用域的全部节点 去掉不实用的轴,不支持namespace,attribute(可用 /@*代替),preceding(preceding-sibling支持),following(following-sibling支持) 添加 preceding-sibling-one,following-sibling-one,即只选前一个或后一个兄弟节点,添加 sibling 选取全部兄弟节点
AxisSelector() - Constructor for class cn.wanghaomiao.xpath.core.AxisSelector
 

C

callFilterFunc(String, Element) - Method in class cn.wanghaomiao.xpath.core.XpathEvaluator
调用谓语中函数
callFunc(String, Elements) - Method in class cn.wanghaomiao.xpath.core.XpathEvaluator
调用xpath主干上的函数
child(Element) - Method in class cn.wanghaomiao.xpath.core.AxisSelector
直接子节点
cn.wanghaomiao.example - package cn.wanghaomiao.example
 
cn.wanghaomiao.xpath.core - package cn.wanghaomiao.xpath.core
 
cn.wanghaomiao.xpath.exception - package cn.wanghaomiao.xpath.exception
 
cn.wanghaomiao.xpath.model - package cn.wanghaomiao.xpath.model
 
cn.wanghaomiao.xpath.util - package cn.wanghaomiao.xpath.util
 
CommonUtil - Class in cn.wanghaomiao.xpath.util
 
CommonUtil() - Constructor for class cn.wanghaomiao.xpath.util.CommonUtil
 
commOpChar - Variable in class cn.wanghaomiao.xpath.util.EmMap
 
contains(String, String) - Method in class cn.wanghaomiao.xpath.core.Functions
判断是否包含

D

descendant(Element) - Method in class cn.wanghaomiao.xpath.core.AxisSelector
全部子代节点 儿子,孙子,孙子的儿子...
descendantOrSelf(Element) - Method in class cn.wanghaomiao.xpath.core.AxisSelector
全部子代节点和自身

E

EmMap - Class in cn.wanghaomiao.xpath.util
 
evaluate(String, Elements) - Method in class cn.wanghaomiao.xpath.core.XpathEvaluator
根据xpath求出结果
excute(String, String) - Method in enum cn.wanghaomiao.xpath.util.OpEm
 

F

filter(Element, Node) - Method in class cn.wanghaomiao.xpath.core.XpathEvaluator
元素过滤器
first(Element) - Method in class cn.wanghaomiao.xpath.core.Functions
判断一个元素是不是同名同胞中的第一个
followingSibling(Element) - Method in class cn.wanghaomiao.xpath.core.AxisSelector
节点后面的全部同胞节点following-sibling
followingSiblingOne(Element) - Method in class cn.wanghaomiao.xpath.core.AxisSelector
返回下一个同胞节点(扩展) 语法 following-sibling-one
Functions - Class in cn.wanghaomiao.xpath.core
xpath解析器的支持的全部函数集合,如需扩展按形式添加即可
Functions() - Constructor for class cn.wanghaomiao.xpath.core.Functions
 

G

genPredicate(String) - Method in class cn.wanghaomiao.xpath.core.NodeTreeBuilderStateMachine
根据谓语字符串初步生成谓语体
getAxis() - Method in class cn.wanghaomiao.xpath.model.Node
 
getAxisScopeEls(String, Element) - Method in class cn.wanghaomiao.xpath.core.XpathEvaluator
调用轴选择器
getAxisSelector() - Method in class cn.wanghaomiao.xpath.core.SingletonProducer
 
getElIndex(Element) - Method in class cn.wanghaomiao.xpath.core.XpathEvaluator
 
getElIndexInSameTags(Element) - Static method in class cn.wanghaomiao.xpath.util.CommonUtil
获取同名元素在同胞中的index
getFunctions() - Method in class cn.wanghaomiao.xpath.core.SingletonProducer
 
getInstance() - Static method in class cn.wanghaomiao.xpath.core.SingletonProducer
 
getInstance() - Static method in class cn.wanghaomiao.xpath.util.EmMap
 
getJMethodNameFromStr(String) - Static method in class cn.wanghaomiao.xpath.util.CommonUtil
 
getLeft() - Method in class cn.wanghaomiao.xpath.model.Predicate
 
getOpEm() - Method in class cn.wanghaomiao.xpath.model.Predicate
 
getPredicate() - Method in class cn.wanghaomiao.xpath.model.Node
 
getRight() - Method in class cn.wanghaomiao.xpath.model.Predicate
 
getScopeEm() - Method in class cn.wanghaomiao.xpath.model.Node
 
getTagName() - Method in class cn.wanghaomiao.xpath.model.Node
 
getValue() - Method in class cn.wanghaomiao.xpath.model.Predicate
 
getXpathNodeTree(String) - Method in class cn.wanghaomiao.xpath.core.XpathEvaluator
获取xpath解析语法树

H

html(Elements) - Method in class cn.wanghaomiao.xpath.core.Functions
获取全部节点的内部的html

J

JXDocument - Class in cn.wanghaomiao.xpath.model
 
JXDocument(Document) - Constructor for class cn.wanghaomiao.xpath.model.JXDocument
 
JXDocument(String) - Constructor for class cn.wanghaomiao.xpath.model.JXDocument
 
JXDocument(Elements) - Constructor for class cn.wanghaomiao.xpath.model.JXDocument
 

L

last(Element) - Method in class cn.wanghaomiao.xpath.core.Functions
判断一个元素是不是最后一个同名同胞中的

M

main(String[]) - Static method in class cn.wanghaomiao.example.XpathTest
 

N

node(Elements) - Method in class cn.wanghaomiao.xpath.core.Functions
获取全部节点
Node - Class in cn.wanghaomiao.xpath.model
xpath语法链的一个基本节点
Node() - Constructor for class cn.wanghaomiao.xpath.model.Node
 
NodeTreeBuilderStateMachine - Class in cn.wanghaomiao.xpath.core
用于生成xpath语法树的有限状态机
NodeTreeBuilderStateMachine() - Constructor for class cn.wanghaomiao.xpath.core.NodeTreeBuilderStateMachine
 
NoSuchAxisException - Exception in cn.wanghaomiao.xpath.exception
使用不存在的轴语法则抛出此异常
NoSuchAxisException(String) - Constructor for exception cn.wanghaomiao.xpath.exception.NoSuchAxisException
 
NoSuchFunctionException - Exception in cn.wanghaomiao.xpath.exception
 
NoSuchFunctionException(String) - Constructor for exception cn.wanghaomiao.xpath.exception.NoSuchFunctionException
 
num(Elements) - Method in class cn.wanghaomiao.xpath.core.Functions
抽取节点自有文本中全部数字

O

OpEm - Enum in cn.wanghaomiao.xpath.util
操作符
opEmMap - Variable in class cn.wanghaomiao.xpath.util.EmMap
 
outerHtml(Elements) - Method in class cn.wanghaomiao.xpath.core.Functions
获取全部节点的 包含节点本身在内的全部html

P

parent(Element) - Method in class cn.wanghaomiao.xpath.core.AxisSelector
父节点
position(Element) - Method in class cn.wanghaomiao.xpath.core.Functions
返回一个元素在同名兄弟节点中的位置
precedingSibling(Element) - Method in class cn.wanghaomiao.xpath.core.AxisSelector
节点前面的全部同胞节点,preceding-sibling
precedingSiblingOne(Element) - Method in class cn.wanghaomiao.xpath.core.AxisSelector
返回前一个同胞节点(扩展),语法 preceding-sibling-one
Predicate - Class in cn.wanghaomiao.xpath.model
xpath语法节点的谓语部分,即要满足的限定条件
Predicate() - Constructor for class cn.wanghaomiao.xpath.model.Predicate
 

S

sameTagElNums(Element) - Static method in class cn.wanghaomiao.xpath.util.CommonUtil
获取同胞中同名元素的数量
ScopeEm - Enum in cn.wanghaomiao.xpath.util
筛选作用域
scopeEmMap - Variable in class cn.wanghaomiao.xpath.util.EmMap
 
sel(String) - Method in class cn.wanghaomiao.xpath.model.JXDocument
 
self(Element) - Method in class cn.wanghaomiao.xpath.core.AxisSelector
自身
setAxis(String) - Method in class cn.wanghaomiao.xpath.model.Node
 
setLeft(String) - Method in class cn.wanghaomiao.xpath.model.Predicate
 
setOpEm(OpEm) - Method in class cn.wanghaomiao.xpath.model.Predicate
 
setPredicate(Predicate) - Method in class cn.wanghaomiao.xpath.model.Node
 
setRight(String) - Method in class cn.wanghaomiao.xpath.model.Predicate
 
setScopeEm(ScopeEm) - Method in class cn.wanghaomiao.xpath.model.Node
 
setTagName(String) - Method in class cn.wanghaomiao.xpath.model.Node
 
setValue(String) - Method in class cn.wanghaomiao.xpath.model.Predicate
 
sibling(Element) - Method in class cn.wanghaomiao.xpath.core.AxisSelector
全部同胞(扩展)
SingletonProducer - Class in cn.wanghaomiao.xpath.core
 

T

text(Elements) - Method in class cn.wanghaomiao.xpath.core.Functions
只获取节点自身的子文本
text(Element) - Method in class cn.wanghaomiao.xpath.core.Functions
获取元素自己的子文本

V

val() - Method in enum cn.wanghaomiao.xpath.util.OpEm
 
val() - Method in enum cn.wanghaomiao.xpath.util.ScopeEm
 
valueOf(String) - Static method in enum cn.wanghaomiao.xpath.util.OpEm
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum cn.wanghaomiao.xpath.util.ScopeEm
Returns the enum constant of this type with the specified name.
values() - Static method in enum cn.wanghaomiao.xpath.util.OpEm
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum cn.wanghaomiao.xpath.util.ScopeEm
Returns an array containing the constants of this enum type, in the order they are declared.

X

XContext - Class in cn.wanghaomiao.xpath.core
 
XContext() - Constructor for class cn.wanghaomiao.xpath.core.XContext
 
XpathEvaluator - Class in cn.wanghaomiao.xpath.core
 
XpathEvaluator() - Constructor for class cn.wanghaomiao.xpath.core.XpathEvaluator
 
xpathParser(String, Elements) - Method in class cn.wanghaomiao.xpath.core.XpathEvaluator
xpath解析器的总入口,同时预处理,如‘|’
XpathResult - Class in cn.wanghaomiao.xpath.model
 
XpathResult() - Constructor for class cn.wanghaomiao.xpath.model.XpathResult
 
XpathSyntaxErrorException - Exception in cn.wanghaomiao.xpath.exception
 
XpathSyntaxErrorException(String) - Constructor for exception cn.wanghaomiao.xpath.exception.XpathSyntaxErrorException
 
XpathTest - Class in cn.wanghaomiao.example
 
XpathTest() - Constructor for class cn.wanghaomiao.example.XpathTest
 
xpathTr - Variable in class 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.