Class PropertyPathToken

java.lang.Object
com.jayway.jsonpath.internal.path.PathToken
com.jayway.jsonpath.internal.path.PropertyPathToken

class PropertyPathToken extends PathToken
  • Field Details

    • properties

      private final List<String> properties
  • Constructor Details

    • PropertyPathToken

      public PropertyPathToken(List<String> properties)
  • Method Details

    • getProperties

      public List<String> getProperties()
    • singlePropertyCase

      public boolean singlePropertyCase()
    • multiPropertyMergeCase

      public boolean multiPropertyMergeCase()
    • multiPropertyIterationCase

      public boolean multiPropertyIterationCase()
    • evaluate

      public void evaluate(String currentPath, PathRef parent, Object model, EvaluationContextImpl ctx)
      Specified by:
      evaluate in class PathToken
    • isTokenDefinite

      public boolean isTokenDefinite()
      Specified by:
      isTokenDefinite in class PathToken
    • getPathFragment

      public String getPathFragment()
      Specified by:
      getPathFragment in class PathToken