|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectedu.uconn.mcb.lineageevolver.parsing.LECParser
Parser for the XML-formatted ELECT output files.
| Field Summary | |
(package private) javax.xml.parsers.DocumentBuilder |
_parser
The actual parser used to parse the XML document. |
| Constructor Summary | |
LECParser()
Defualt constructor for objects of type LECParser. |
|
| Method Summary | |
static void |
main(java.lang.String[] args)
Test driver. |
Configuration |
parseFile(java.lang.String fileName)
Parses an ELECT-generated XML file, yeilding a filled Configuration object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
javax.xml.parsers.DocumentBuilder _parser
| Constructor Detail |
public LECParser()
throws javax.xml.parsers.ParserConfigurationException
javax.xml.parsers.ParserConfigurationException - If there was an error with the backend XML parser.| Method Detail |
public Configuration parseFile(java.lang.String fileName)
throws java.io.IOException,
org.xml.sax.SAXException,
javax.xml.parsers.ParserConfigurationException
fileName - The filename of the XML file to parse.
java.io.IOException - If there was a problem with file I/O.
org.xml.sax.SAXException - If there was a problem with the XML parser backend.
javax.xml.parsers.ParserConfigurationException - If there was a problem obtaining a proper XML parser.public static void main(java.lang.String[] args)
args - should be an array containing one item: the path to the file to be parsed.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||