public class SequenceMatcher extends CustomDefaultLabelMatcher<SequenceMatcher>
Matcher that executes all of its submatchers in sequence and only succeeds if all submatchers succeed.| Constructor and Description |
|---|
SequenceMatcher(Rule[] subRules) |
| Modifier and Type | Method and Description |
|---|---|
MatcherType |
getType()
Returns the type of this matcher
|
<V> boolean |
match(MatcherContext<V> context)
Tries a match on the given MatcherContext.
|
getLabel, hasCustomLabelgetSubContext, label, toStringgetChildrenclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetChildrenpublic SequenceMatcher(Rule[] subRules)
public MatcherType getType()
MatcherMatcherTypepublic <V> boolean match(MatcherContext<V> context)
Matchercontext - the MatcherContext