Class XmlParser
java.lang.Object
org.itsallcode.openfasttrace.importer.xmlparser.XmlParser
This XML parser reads input from a
Reader and invokes a
TreeContentHandler for the read XML events.-
Method Summary
Modifier and TypeMethodDescriptionvoidparse(String filePath, Reader reader, TreeContentHandler eventHandler) Parse the content from the givenReader, invoking the callback methods of the givenTreeContentHandler.
-
Method Details
-
parse
Parse the content from the givenReader, invoking the callback methods of the givenTreeContentHandler.- Parameters:
filePath- the input file path used in error messages and callback methodsreader- the reader containing the input to parseeventHandler- the handler for XML events
-