public class ReplaceScalarMatcher extends Object
PathMatcher.MatchResult
Constructor and Description |
---|
ReplaceScalarMatcher(String replacement) |
Modifier and Type | Method and Description |
---|---|
PathMatcher.MatchResult |
matches(ParseEvent event) |
protected PathMatcher.MatchResult |
matchesScalar(ParseEvent event) |
Predicate<Path> |
needsKeyCollection() |
Predicate<Path> |
needsObjectCollection() |
String |
toString() |
public ReplaceScalarMatcher(String replacement)
protected PathMatcher.MatchResult matchesScalar(ParseEvent event)
public Predicate<Path> needsKeyCollection()
needsKeyCollection
in interface PathMatcher
public Predicate<Path> needsObjectCollection()
needsObjectCollection
in interface PathMatcher
public final PathMatcher.MatchResult matches(ParseEvent event)
matches
in interface PathMatcher
event
- The event to matchCopyright © 2021. All rights reserved.