Class JcReportParser

  • All Implemented Interfaces:
    Serializable

    public class JcReportParser
    extends IssueParser
    JcReportParser-Class. This class parses from the jcReport.xml and creates warnings from its content.
    Author:
    Johann Vierthaler, johann.vierthaler@web.de
    See Also:
    Serialized Form
    • Constructor Detail

      • JcReportParser

        public JcReportParser()
    • Method Detail

      • parse

        public Report parse​(ReaderFactory reader)
        Description copied from class: IssueParser
        Parses the specified file for issues.
        Specified by:
        parse in class IssueParser
        Parameters:
        reader - provides a reader to the reports
        Returns:
        the issues
      • createReport

        public Report createReport​(ReaderFactory readerFactory)
                            throws ParsingException
        Creates a Report-Object out of the content within the JcReport.xml.
        Parameters:
        readerFactory - the Reader-object that is the source to build the Report-Object.
        Returns:
        the finished Report-Object that creates the Warnings.
        Throws:
        ParsingException - due to digester.parse(new InputSource(source))