Class ArrayIndexToken
- java.lang.Object
-
- com.jayway.jsonpath.internal.path.PathToken
-
- com.jayway.jsonpath.internal.path.ArrayPathToken
-
- com.jayway.jsonpath.internal.path.ArrayIndexToken
-
public class ArrayIndexToken extends ArrayPathToken
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidevaluate(java.lang.String currentPath, PathRef parent, java.lang.Object model, EvaluationContextImpl ctx)java.lang.StringgetPathFragment()booleanisTokenDefinite()-
Methods inherited from class com.jayway.jsonpath.internal.path.ArrayPathToken
checkArrayModel
-
Methods inherited from class com.jayway.jsonpath.internal.path.PathToken
equals, getNext, getTokenCount, handleArrayIndex, hashCode, invoke, isPathDefinite, setNext, setUpstreamArrayIndex, toString
-
-
-
-
Method Detail
-
evaluate
public void evaluate(java.lang.String currentPath, PathRef parent, java.lang.Object model, EvaluationContextImpl ctx)
-
getPathFragment
public java.lang.String getPathFragment()
- Specified by:
getPathFragmentin classPathToken
-
isTokenDefinite
public boolean isTokenDefinite()
- Specified by:
isTokenDefinitein classPathToken
-
-