Class PathToken
java.lang.Object
com.jayway.jsonpath.internal.path.PathToken
- Direct Known Subclasses:
ArrayPathToken, FunctionPathToken, PredicatePathToken, RootPathToken, ScanPathToken, WildcardPathToken
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanabstract voidevaluate(String currentPath, PathRef parent, Object model, EvaluationContextImpl ctx) protected abstract Stringintprotected voidhandleArrayIndex(int index, String currentPath, Object model, EvaluationContextImpl ctx) inthashCode()voidinvoke(PathFunction pathFunction, String currentPath, PathRef parent, Object model, EvaluationContextImpl ctx) booleanabstract booleantoString()
-
Constructor Details
-
PathToken
public PathToken()
-
-
Method Details
-
handleArrayIndex
protected void handleArrayIndex(int index, String currentPath, Object model, EvaluationContextImpl ctx) -
getTokenCount
public int getTokenCount() -
isPathDefinite
public boolean isPathDefinite() -
toString
-
hashCode
-
equals
-
invoke
public void invoke(PathFunction pathFunction, String currentPath, PathRef parent, Object model, EvaluationContextImpl ctx) -
evaluate
public abstract void evaluate(String currentPath, PathRef parent, Object model, EvaluationContextImpl ctx) -
isTokenDefinite
public abstract boolean isTokenDefinite() -
getPathFragment
-