Class ArraySliceToken
java.lang.Object
com.jayway.jsonpath.internal.path.PathToken
com.jayway.jsonpath.internal.path.ArrayPathToken
com.jayway.jsonpath.internal.path.ArraySliceToken
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.slf4j.Loggerprivate final ArraySliceOperation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidevaluate(String currentPath, PathRef parent, Object model, EvaluationContextImpl ctx) booleanprivate voidsliceBetween(String currentPath, PathRef parent, Object model, EvaluationContextImpl ctx) private voidsliceFrom(String currentPath, PathRef parent, Object model, EvaluationContextImpl ctx) private voidsliceTo(String currentPath, PathRef parent, Object model, EvaluationContextImpl ctx) Methods inherited from class com.jayway.jsonpath.internal.path.ArrayPathToken
checkArrayModelMethods inherited from class com.jayway.jsonpath.internal.path.PathToken
appendTailToken, equals, getNext, getTokenCount, handleArrayIndex, handleObjectProperty, hashCode, invoke, isLeaf, isPathDefinite, isRoot, isUpstreamDefinite, next, prev, setNext, setUpstreamArrayIndex, toString
-
Field Details
-
logger
private static final org.slf4j.Logger logger -
operation
-
-
Constructor Details
-
ArraySliceToken
ArraySliceToken(ArraySliceOperation operation)
-
-
Method Details
-
evaluate
-
sliceFrom
-
sliceBetween
private void sliceBetween(String currentPath, PathRef parent, Object model, EvaluationContextImpl ctx) -
sliceTo
-
getPathFragment
- Specified by:
getPathFragmentin classPathToken
-
isTokenDefinite
public boolean isTokenDefinite()- Specified by:
isTokenDefinitein classPathToken
-