ORO, Inc. Logo  All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface com.oroinc.text.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.

Copyright © 1997 Original Resuable Objects, Inc. All rights reserved.

See Also:
MatchActionProcessor, MatchActionInfo

Method Index

 o processMatch(MatchActionInfo)
This method is called by MatchActionProcessor when it finds an associated pattern in a line of input.

Methods

 o processMatch
 public abstract 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

ORO, Inc. Logo  All Packages  Class Hierarchy  This Package  Previous  Next  Index