Class FunctionPathToken
java.lang.Object
com.jayway.jsonpath.internal.path.PathToken
com.jayway.jsonpath.internal.path.FunctionPathToken
Token representing a Function call to one of the functions produced via the FunctionFactory
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
evaluate
(String currentPath, PathRef parent, Object model, EvaluationContextImpl ctx) boolean
Return the actual value by indicating true.Methods inherited from class com.jayway.jsonpath.internal.path.PathToken
appendTailToken, equals, getTokenCount, handleArrayIndex, handleObjectProperty, hashCode, invoke, isLeaf, isPathDefinite, isRoot, isUpstreamDefinite, next, prev, toString
-
Field Details
-
functionName
-
pathFragment
-
-
Constructor Details
-
FunctionPathToken
-
-
Method Details
-
evaluate
-
isTokenDefinite
public boolean isTokenDefinite()Return the actual value by indicating true. If this return was false then we'd return the value in an array which isn't what is desired - true indicates the raw value is returned.- Specified by:
isTokenDefinite
in classPathToken
- Returns:
-
getPathFragment
- Specified by:
getPathFragment
in classPathToken
-