Class PropertyPathToken
- java.lang.Object
-
- com.jayway.jsonpath.internal.path.PathToken
-
- com.jayway.jsonpath.internal.path.PropertyPathToken
-
class PropertyPathToken extends PathToken
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<java.lang.String>properties
-
Constructor Summary
Constructors Constructor Description PropertyPathToken(java.util.List<java.lang.String> properties)
-
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()java.util.List<java.lang.String>getProperties()booleanisTokenDefinite()booleanmultiPropertyIterationCase()booleanmultiPropertyMergeCase()booleansinglePropertyCase()-
Methods inherited from class com.jayway.jsonpath.internal.path.PathToken
appendTailToken, equals, getTokenCount, handleArrayIndex, handleObjectProperty, hashCode, invoke, isLeaf, isPathDefinite, isRoot, isUpstreamDefinite, next, prev, toString
-
-
-
-
Method Detail
-
getProperties
public java.util.List<java.lang.String> getProperties()
-
singlePropertyCase
public boolean singlePropertyCase()
-
multiPropertyMergeCase
public boolean multiPropertyMergeCase()
-
multiPropertyIterationCase
public boolean multiPropertyIterationCase()
-
evaluate
public void evaluate(java.lang.String currentPath, PathRef parent, java.lang.Object model, EvaluationContextImpl ctx)
-
isTokenDefinite
public boolean isTokenDefinite()
- Specified by:
isTokenDefinitein classPathToken
-
getPathFragment
public java.lang.String getPathFragment()
- Specified by:
getPathFragmentin classPathToken
-
-