notio
Class SimpleMatchGenerator

java.lang.Object
  |
  +--notio.SimpleMatchGenerator

Deprecated. This class is purely experimental and will be removed shortly.

public class SimpleMatchGenerator
extends java.lang.Object

A generator class used to extract SimpleMatches from a MatchResult one at a time.


Constructor Summary
SimpleMatchGenerator(MatchResult matchResult)
          Deprecated. Constructs a new generator that will process the specified MatchResult.
 
Method Summary
 MatchResult getNextSimpleMatch()
          Deprecated. Gets the next simple match from this generator.
 MatchResult[] getRemainingMatches()
          Deprecated. Gets all remaining simple matches from this generator.
 void resetGenerator()
          Deprecated. Resets the generator that will generate from the beginning again.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleMatchGenerator

public SimpleMatchGenerator(MatchResult matchResult)
Deprecated. 
Constructs a new generator that will process the specified MatchResult.
Parameters:
matchResult - the MatchResult to be processed.
Method Detail

resetGenerator

public void resetGenerator()
Deprecated. 
Resets the generator that will generate from the beginning again.

getNextSimpleMatch

public MatchResult getNextSimpleMatch()
Deprecated. 
Gets the next simple match from this generator.
Returns:
the next simple match from this generator or null if there are no more.

getRemainingMatches

public MatchResult[] getRemainingMatches()
Deprecated. 
Gets all remaining simple matches from this generator.
Returns:
an array of all simple matches remaining in this generator, possibly empty.


Copyright 1998-2001 Finnegan Southey