laser.regularlanguage.util
Class StringREtoDFAParser

java.lang.Object
  extended by laser.regularlanguage.util.REtoDFAParser<StringLabel>
      extended by laser.regularlanguage.util.StringREtoDFAParser

public class StringREtoDFAParser
extends REtoDFAParser<StringLabel>

The StringREtoDFAParser class converts from each input RE to its corresponding DFA.

Author:
Heather M. Conboy (laser-software@cs.umass.edu)

Constructor Summary
  StringREtoDFAParser()
          Creates a new StringREtoDFAParser.
protected StringREtoDFAParser(REFactory<StringLabel> reFactory, FSAFactoryInterface<StringLabel> dfaFactory, RLFactory<StringLabel> rlFactory)
          Creates a new StringREtoDFAParser.
 
Method Summary
 
Methods inherited from class laser.regularlanguage.util.REtoDFAParser
createREReader, createREtoDFAConverter, parse, parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringREtoDFAParser

public StringREtoDFAParser()
Creates a new StringREtoDFAParser.


StringREtoDFAParser

protected StringREtoDFAParser(REFactory<StringLabel> reFactory,
                              FSAFactoryInterface<StringLabel> dfaFactory,
                              RLFactory<StringLabel> rlFactory)
Creates a new StringREtoDFAParser.

Parameters:
reFactory - The RE factory to be used to create new REs (non-null)
dfaFactory - The FSA factory to be used to create new DFAs (non-null)
rlFactory - The RL factory to be used to convert between REs and FSAs (non-null)