MyHandler class overrides DefaultHandler. It is a SAX parser used for parsing PMD Reports that are in XML format.