类 JsonPath
- java.lang.Object
-
- org.jsfr.json.path.JsonPath
-
- 所有已实现的接口:
Iterable<PathOperator>
public class JsonPath extends Object implements Iterable<PathOperator>
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classJsonPath.Builder
-
字段概要
字段 修饰符和类型 字段 说明 protected PathOperator[]operatorsprotected intsize
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 booleancheckDefinite()voidclear()JsonPathderivePath(int depth)PathOperatorget(int i)booleanisDefinite()Iterator<PathOperator>iterator()booleanmatch(JsonPath jsonPath)booleanmatchFilterPath(JsonPath jsonPath, int startDepth)booleanmatchFilterPathUntilDepth(JsonPath jsonPath, int startDepth)booleanmatchWithDeepScan(JsonPath jsonPath)static intminimumPathDepth(JsonPath path)intpathDepth()PathOperatorpeek()protected voidpop()protected voidpush(PathOperator operator)Objectresolve(Object document, DocumentResolver resolver)StringtoString()-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
从接口继承的方法 java.lang.Iterable
forEach, spliterator
-
-
-
-
字段详细资料
-
operators
protected PathOperator[] operators
-
size
protected int size
-
-
方法详细资料
-
iterator
public Iterator<PathOperator> iterator()
- 指定者:
iterator在接口中Iterable<PathOperator>
-
resolve
public Object resolve(Object document, DocumentResolver resolver)
-
match
public boolean match(JsonPath jsonPath)
-
matchWithDeepScan
public boolean matchWithDeepScan(JsonPath jsonPath)
-
matchFilterPath
public boolean matchFilterPath(JsonPath jsonPath, int startDepth)
-
matchFilterPathUntilDepth
public boolean matchFilterPathUntilDepth(JsonPath jsonPath, int startDepth)
-
derivePath
public JsonPath derivePath(int depth)
-
get
public PathOperator get(int i)
-
peek
public PathOperator peek()
-
push
protected void push(PathOperator operator)
-
pop
protected void pop()
-
pathDepth
public int pathDepth()
-
clear
public void clear()
-
minimumPathDepth
public static int minimumPathDepth(JsonPath path)
-
isDefinite
public boolean isDefinite()
-
checkDefinite
public boolean checkDefinite()
-
-