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.String
name
-
Constructor Summary
Constructors Constructor Description ValueMatcher(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
void
matchWithPath(Scope scope, com.fasterxml.jackson.databind.JsonNode in, Path path, PatternMatcher.MatchOutput output, java.util.Stack<PatternMatcher.MatchWithPath> accumulate)
java.lang.String
toString()
-
-
-
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:
match
in 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:
matchWithPath
in interfacePatternMatcher
- Throws:
JsonQueryException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-