Class PredicateContextImpl

    • Constructor Summary

      Constructors 
      Constructor Description
      PredicateContextImpl​(java.lang.Object contextDocument, java.lang.Object rootDocument, Configuration configuration, java.util.HashMap<Path,​java.lang.Object> documentPathCache)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Configuration configuration()
      Configuration to use when evaluating
      java.util.HashMap<Path,​java.lang.Object> documentPathCache()  
      java.lang.Object evaluate​(Path path)  
      java.lang.Object item()
      Returns the current item being evaluated by this predicate
      <T> T item​(java.lang.Class<T> clazz)
      Returns the current item being evaluated by this predicate.
      java.lang.Object root()
      Returns the root document (the complete JSON)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait