Class JcReportParser
- java.lang.Object
-
- edu.hm.hafner.analysis.IssueParser
-
- edu.hm.hafner.analysis.parser.jcreport.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 Summary
Constructors Constructor Description JcReportParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReportcreateReport(ReaderFactory readerFactory)Creates a Report-Object out of the content within the JcReport.xml.Reportparse(ReaderFactory reader)Parses the specified file for issues.-
Methods inherited from class edu.hm.hafner.analysis.IssueParser
accepts, equalsIgnoreCase, isXmlFile, parseFile
-
-
-
-
Method Detail
-
parse
public Report parse(ReaderFactory reader)
Description copied from class:IssueParserParses the specified file for issues.- Specified by:
parsein classIssueParser- 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))
-
-