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 TypeMethodDescriptionvoidevaluate(String currentPath, PathRef parent, Object model, EvaluationContextImpl ctx) booleanReturn the actual value by indicating true.Methods inherited from class 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:
isTokenDefinitein classPathToken- Returns:
-
getPathFragment
- Specified by:
getPathFragmentin classPathToken
-