Klasse JcReportParser
java.lang.Object
edu.hm.hafner.analysis.IssueParser
edu.hm.hafner.analysis.parser.jcreport.JcReportParser
- Alle implementierten Schnittstellen:
Serializable
JcReportParser-Class. This class parses from the jcReport.xml and creates warnings from its content.
- Autor:
- Johann Vierthaler, johann.vierthaler@web.de
- Siehe auch:
-
Feldübersicht
Von Klasse geerbte Felder edu.hm.hafner.analysis.IssueParser
ADDITIONAL_PROPERTIES, CATEGORY, COLUMN_END, COLUMN_START, DESCRIPTION, FILE_NAME, FINGERPRINT, ID, LINE_END, LINE_RANGE_END, LINE_RANGE_START, LINE_RANGES, LINE_START, MESSAGE, MODULE_NAME, ORIGIN, PACKAGE_NAME, SEVERITY, TYPE -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungcreateReport(ReaderFactory readerFactory) Creates a Report-Object out of the content within the JcReport.xml.parse(ReaderFactory reader) Parses the specified file for issues.Von Klasse geerbte Methoden edu.hm.hafner.analysis.IssueParser
accepts, equalsIgnoreCase, isXmlFile, parseFile
-
Konstruktordetails
-
JcReportParser
public JcReportParser()
-
-
Methodendetails
-
parse
Beschreibung aus Klasse kopiert:IssueParserParses the specified file for issues.- Angegeben von:
parsein KlasseIssueParser- Parameter:
reader- provides a reader to the reports- Gibt zurück:
- the issues
-
createReport
Creates a Report-Object out of the content within the JcReport.xml.- Parameter:
readerFactory- the Reader-object that is the source to build the Report-Object.- Gibt zurück:
- the finished Report-Object that creates the Warnings.
- Löst aus:
ParsingException- due to digester.parse(new InputSource(source))
-