GXPARSE hosted by SourceForge.net Logo

ca.gorman.util.scan
Class AbstractScanRule

java.lang.Object
  extended by ca.gorman.util.scan.AbstractScanRule
All Implemented Interfaces:
ScanAction, ScanMatch, ScanRule

public abstract class AbstractScanRule
extends Object
implements ScanRule

Abstract realization of ScanRule that takes no action on a successful match.


Constructor Summary
AbstractScanRule()
           
 
Method Summary
 void action(ScanState scanState, MatchedText matchedText)
           Do something with text that has been matched by a scanRule.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ca.gorman.util.scan.ScanMatch
match
 

Constructor Detail

AbstractScanRule

public AbstractScanRule()
Method Detail

action

public void action(ScanState scanState,
                   MatchedText matchedText)
            throws IOException
Description copied from interface: ScanAction

Do something with text that has been matched by a scanRule.

Specified by:
action in interface ScanAction
Throws:
IOException

GXPARSE download

GXPARSE Generic XML Stream Parser API and supporting tools.   Release $Name: gxparse-sf-alpha-2_0 $
Copyright 2003-2004 Ian E. Gorman
Released under GNU Lesser General Public License