laser.regularlanguage.util
Class StringREtoFSAParser

java.lang.Object
  extended by laser.regularlanguage.util.REtoFSAParser<StringLabel>
      extended by laser.regularlanguage.util.StringREtoFSAParser

public class StringREtoFSAParser
extends REtoFSAParser<StringLabel>

The StringREtoFSAParser class converts from each input RE to its corresponding FSA.

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

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

Constructor Detail

StringREtoFSAParser

public StringREtoFSAParser()
Creates a new StringREtoFSAParser.


StringREtoFSAParser

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

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