Class PathLateBindingValue

java.lang.Object
com.jayway.jsonpath.internal.function.latebinding.PathLateBindingValue
All Implemented Interfaces:
ILateBindingValue

public class PathLateBindingValue extends Object implements ILateBindingValue
Defines the contract for late bindings, provides document state and enough context to perform the evaluation at a later date such that we can operate on a dynamically changing value. Acts like a lambda function with references, but since we're supporting JDK 6+, we're left doing this...
  • Constructor Details

    • PathLateBindingValue

      public PathLateBindingValue(Path path, Object rootDocument, Configuration configuration)
  • Method Details

    • get

      public Object get()
      Description copied from interface: ILateBindingValue
      Obtain the value of the parameter at runtime using the parameter state and invocation of other late binding values rather than maintaining cached state which ends up in a global store and won't change as a result of external reference changes.
      Specified by:
      get in interface ILateBindingValue
      Returns:
      the late value
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object