Browse Source

Adding more streaming changes

pull/93/head
hunterpayne 10 years ago
parent
commit
ea8b1efd9a
  1. 7
      json-path/src/main/java/com/jayway/jsonpath/internal/Path.java

7
json-path/src/main/java/com/jayway/jsonpath/internal/Path.java

@ -15,6 +15,7 @@
package com.jayway.jsonpath.internal;
import com.jayway.jsonpath.Configuration;
import com.jayway.jsonpath.internal.token.TokenStack;
/**
*
@ -43,6 +44,12 @@ public interface Path {
*/
EvaluationContext evaluate(Object document, Object rootDocument, Configuration configuration, boolean forUpdate);
/**
* checks the parser state represented by stack and determines if this
* path matches it
*/
boolean checkForMatch(TokenStack stack);
/**
*
* @return true id this path is definite

Loading…
Cancel
Save