public class SimplePathMatcher extends Object implements PathMatcher
| Constructor and Description |
|---|
SimplePathMatcher(List<String> path) |
SimplePathMatcher(String... path) |
| Modifier and Type | Method and Description |
|---|---|
static SimplePathMatcher |
instance(List<String> path) |
static SimplePathMatcher |
instance(String... path) |
Match |
match(List<String> currentpath,
JsonValue currentvalue)
Returns result of match
|
public SimplePathMatcher(String... path)
public static SimplePathMatcher instance(List<String> path)
public static SimplePathMatcher instance(String... path)
public Match match(List<String> currentpath, JsonValue currentvalue)
PathMatchermatch in interface PathMatchercurrentpath - path to be checkedcurrentvalue - value to be checked (be prepare for null values for traversal parsers)Copyright © 2018. All rights reserved.