public interface IMatchProcessor<Match extends IPatternMatch>
Clients can manually implement process() in an (anonymous) class, or alternatively, extend either
GenericMatchProcessor
or the user-friendly pattern-specific generated match processor classes.
Modifier and Type | Method and Description |
---|---|
void |
process(Match match)
Defines the action that is to be executed on each match.
|
void process(Match match)
match
- a single match of the pattern that must be processed by the implementation of this method