Class ValueMatcher
- java.lang.Object
-
- net.thisptr.jackson.jq.internal.tree.matcher.matchers.ValueMatcher
-
- All Implemented Interfaces:
PatternMatcher
public class ValueMatcher extends java.lang.Object implements PatternMatcher
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.thisptr.jackson.jq.internal.tree.matcher.PatternMatcher
PatternMatcher.MatchOutput, PatternMatcher.MatchWithPath
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringname
-
Constructor Summary
Constructors Constructor Description ValueMatcher(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidmatch(Scope scope, com.fasterxml.jackson.databind.JsonNode in, Functional.Consumer<java.util.List<Pair<java.lang.String,com.fasterxml.jackson.databind.JsonNode>>> out, java.util.Stack<Pair<java.lang.String,com.fasterxml.jackson.databind.JsonNode>> accumulate)voidmatchWithPath(Scope scope, com.fasterxml.jackson.databind.JsonNode in, Path path, PatternMatcher.MatchOutput output, java.util.Stack<PatternMatcher.MatchWithPath> accumulate)java.lang.StringtoString()
-
-
-
Method Detail
-
match
public void match(Scope scope, com.fasterxml.jackson.databind.JsonNode in, Functional.Consumer<java.util.List<Pair<java.lang.String,com.fasterxml.jackson.databind.JsonNode>>> out, java.util.Stack<Pair<java.lang.String,com.fasterxml.jackson.databind.JsonNode>> accumulate) throws JsonQueryException
- Specified by:
matchin interfacePatternMatcher- Throws:
JsonQueryException
-
matchWithPath
public void matchWithPath(Scope scope, com.fasterxml.jackson.databind.JsonNode in, Path path, PatternMatcher.MatchOutput output, java.util.Stack<PatternMatcher.MatchWithPath> accumulate) throws JsonQueryException
- Specified by:
matchWithPathin interfacePatternMatcher- Throws:
JsonQueryException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-