R
- the return value of this visitorpublic class DefaultMatcherVisitor<R> extends java.lang.Object implements MatcherVisitor<R>
MatcherVisitor
implementation that delegates all visiting methods to one default value method.Constructor and Description |
---|
DefaultMatcherVisitor() |
Modifier and Type | Method and Description |
---|---|
R |
defaultValue(AbstractMatcher matcher)
Returns the default value for all visiting methods that have not been overridden.
|
R |
visit(ActionMatcher matcher) |
R |
visit(AnyMatcher matcher) |
R |
visit(AnyOfMatcher matcher) |
R |
visit(CharIgnoreCaseMatcher matcher) |
R |
visit(CharMatcher matcher) |
R |
visit(CharRangeMatcher matcher) |
R |
visit(CustomMatcher matcher) |
R |
visit(EmptyMatcher matcher) |
R |
visit(FirstOfMatcher matcher) |
R |
visit(NothingMatcher matcher) |
R |
visit(OneOrMoreMatcher matcher) |
R |
visit(OptionalMatcher matcher) |
R |
visit(SequenceMatcher matcher) |
R |
visit(TestMatcher matcher) |
R |
visit(TestNotMatcher matcher) |
R |
visit(ZeroOrMoreMatcher matcher) |
public R visit(ActionMatcher matcher)
visit
in interface MatcherVisitor<R>
public R visit(AnyMatcher matcher)
visit
in interface MatcherVisitor<R>
public R visit(CharIgnoreCaseMatcher matcher)
visit
in interface MatcherVisitor<R>
public R visit(CharMatcher matcher)
visit
in interface MatcherVisitor<R>
public R visit(CharRangeMatcher matcher)
visit
in interface MatcherVisitor<R>
public R visit(AnyOfMatcher matcher)
visit
in interface MatcherVisitor<R>
public R visit(CustomMatcher matcher)
visit
in interface MatcherVisitor<R>
public R visit(EmptyMatcher matcher)
visit
in interface MatcherVisitor<R>
public R visit(FirstOfMatcher matcher)
visit
in interface MatcherVisitor<R>
public R visit(NothingMatcher matcher)
visit
in interface MatcherVisitor<R>
public R visit(OneOrMoreMatcher matcher)
visit
in interface MatcherVisitor<R>
public R visit(OptionalMatcher matcher)
visit
in interface MatcherVisitor<R>
public R visit(SequenceMatcher matcher)
visit
in interface MatcherVisitor<R>
public R visit(TestMatcher matcher)
visit
in interface MatcherVisitor<R>
public R visit(TestNotMatcher matcher)
visit
in interface MatcherVisitor<R>
public R visit(ZeroOrMoreMatcher matcher)
visit
in interface MatcherVisitor<R>
public R defaultValue(AbstractMatcher matcher)
matcher
- the matcher