org.apache.oro.text
Interface MatchAction
- public interface MatchAction
The MatchAction interface provides the callback interface for actions
bound to patterns in
MatchActionProcessor
. More often than not, you will want to
create MatchAction instances as anonymous classes when adding pattern
action pairs to a MatchActionProcessor instance.
- Version:
- $Id: MatchAction.java,v 1.2 2000/07/23 23:25:16 jon Exp $
- Author:
- Daniel F. Savarese
- See Also:
MatchActionProcessor
,
MatchActionInfo
Method Summary |
void |
processMatch(MatchActionInfo matchInfo)
This method is called by MatchActionProcessor when it finds an associated
pattern in a line of input. |
processMatch
public void processMatch(MatchActionInfo matchInfo)
- This method is called by MatchActionProcessor when it finds an associated
pattern in a line of input. Information pertaining to the matched
line is included in the MatchActionInfo parameter.
- Parameters:
matchInfo
- The match information associated with the line
matched by MatchActionProcessor.- See Also:
MatchActionProcessor
,
MatchActionInfo
Copyright © 2000 Apache Software Foundation. All Rights Reserved.