edu.gtts.sautrela.wfsa
Interface Factory<T>
public interface Factory<T>
- Author:
- mpenagar
|
Method Summary |
T |
getInstance(org.xml.sax.InputSource is)
Creates a WFSA using an XML description found via an InputSource |
T |
getInstance(org.xml.sax.InputSource is,
Alphabet alphabet)
Creates a WFSA using a XML description found via an InputSource
and an existing Alphabet. |
getInstance
T getInstance(org.xml.sax.InputSource is)
throws javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException,
java.io.IOException
- Creates a WFSA using an XML description found via an
InputSource
- Parameters:
is - the InputSource used to locate the XML description
- Throws:
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
getInstance
T getInstance(org.xml.sax.InputSource is,
Alphabet alphabet)
throws javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException,
java.io.IOException
- Creates a WFSA using a XML description found via an
InputSource
and an existing Alphabet.
- Parameters:
is - the InputSource used to locate the XML descriptionalphabet - SHOULD BE NULL
- Throws:
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException