java.lang.Object
org.itsallcode.openfasttrace.importer.xmlparser.XmlParser

public class XmlParser extends Object
This XML parser reads input from a Reader and invokes a TreeContentHandler for the read XML events.
  • Method Details

    • parse

      public void parse(String filePath, Reader reader, TreeContentHandler eventHandler)
      Parse the content from the given Reader, invoking the callback methods of the given TreeContentHandler.
      Parameters:
      filePath - the input file path used in error messages and callback methods
      reader - the reader containing the input to parse
      eventHandler - the handler for XML events