Class PredicatePathToken
java.lang.Object
com.jayway.jsonpath.internal.path.PathToken
com.jayway.jsonpath.internal.path.PredicatePathToken
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPredicatePathToken(Predicate filter) PredicatePathToken(Collection<Predicate> predicates) -
Method Summary
Modifier and TypeMethodDescriptionbooleanaccept(Object obj, Object root, Configuration configuration, EvaluationContextImpl evaluationContext) voidevaluate(String currentPath, PathRef ref, Object model, EvaluationContextImpl ctx) booleanMethods inherited from class PathToken
appendTailToken, equals, getTokenCount, handleArrayIndex, handleObjectProperty, hashCode, invoke, isLeaf, isPathDefinite, isRoot, isUpstreamDefinite, next, prev, toString
-
Field Details
-
predicates
-
-
Constructor Details
-
PredicatePathToken
PredicatePathToken(Predicate filter) -
PredicatePathToken
PredicatePathToken(Collection<Predicate> predicates)
-
-
Method Details
-
evaluate
-
accept
public boolean accept(Object obj, Object root, Configuration configuration, EvaluationContextImpl evaluationContext) -
getPathFragment
- Specified by:
getPathFragmentin classPathToken
-
isTokenDefinite
public boolean isTokenDefinite()- Specified by:
isTokenDefinitein classPathToken
-