Package gov.nasa.pds.validate.report
Class XmlReport
java.lang.Object
gov.nasa.pds.validate.report.Report
gov.nasa.pds.validate.report.XmlReport
public class XmlReport extends Report
-
Field Summary
Fields inherited from class gov.nasa.pds.validate.report.Report
configurations, integrityCheckFlag, messageSummary, numProducts, parameters, totalIntegrityChecks, totalProducts, writer -
Constructor Summary
Constructors Constructor Description XmlReport() -
Method Summary
Modifier and Type Method Description voidprintFooter()Prints out the footer or the report and calls the customized footer section.protected voidprintFooter(PrintWriter writer)Allows customization of the footer section of the reportvoidprintHeader()This method will display the default header for the Vtool command line library reports.protected voidprintHeader(PrintWriter writer, String title)Allows a Report to customize the header portion of the Report if necessary.protected voidprintRecordMessages(PrintWriter writer, Status status, URI sourceUri, List<ValidationProblem> problems)Allows a report to customize how it handles reporting on a particular label.protected voidprintRecordSkip(PrintWriter writer, URI sourceUri, ValidationProblem problem)Methods inherited from class gov.nasa.pds.validate.report.Report
addConfiguration, addParameter, enableDeprecatedFlagWarning, getLevel, getNumFailed, getNumPassed, getNumSkipped, getTotalErrors, getTotalInfos, getTotalIntegrityChecks, getTotalProducts, getTotalWarnings, getType, hasErrors, hasWarnings, printHeader, record, record, recordSkip, setLevel, setOutput, setOutput, setOutput, sortMessageSummary
-
Constructor Details
-
XmlReport
public XmlReport()
-
-
Method Details
-
printHeader
public void printHeader()Description copied from class:ReportThis method will display the default header for the Vtool command line library reports. This is the standard header across all reports.- Overrides:
printHeaderin classReport
-
printHeader
Description copied from class:ReportAllows a Report to customize the header portion of the Report if necessary.- Specified by:
printHeaderin classReport- Parameters:
writer- passed down to write header contents to
-
printRecordMessages
protected void printRecordMessages(PrintWriter writer, Status status, URI sourceUri, List<ValidationProblem> problems)Description copied from class:ReportAllows a report to customize how it handles reporting on a particular label.- Specified by:
printRecordMessagesin classReport- Parameters:
writer- passed on to write customized messages tosourceUri- reference to the file that is being reported onproblems- which to report on for this source
-
printRecordSkip
- Overrides:
printRecordSkipin classReport
-