Class AbstractXmlReportWriter
java.lang.Object
org.verapdf.processor.reports.multithread.writer.ReportWriter
org.verapdf.processor.reports.multithread.writer.AbstractXmlReportWriter
- Direct Known Subclasses:
MrrReportWriter,RawReportWriter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected ReportParserEventHandlerprotected SAXParserprotected final XMLStreamWriterFields inherited from class org.verapdf.processor.reports.multithread.writer.ReportWriter
outputStreamWriter -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractXmlReportWriter(PrintWriter outputStreamWriter, PrintWriter errorStreamWriter) -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected abstract voidprintFirstReport(File report) protected voidvoidMethods inherited from class org.verapdf.processor.reports.multithread.writer.ReportWriter
closeOutputStream, deleteTemp, merge, newInstance, write
-
Field Details
-
writer
-
saxParser
-
reportHandler
-
isFirstReport
protected boolean isFirstReport
-
-
Constructor Details
-
AbstractXmlReportWriter
protected AbstractXmlReportWriter(PrintWriter outputStreamWriter, PrintWriter errorStreamWriter) throws XMLStreamException, ParserConfigurationException, SAXException
-
-
Method Details
-
printFirstReport
protected abstract void printFirstReport(File report) throws SAXException, IOException, XMLStreamException -
startDocument
public void startDocument()- Specified by:
startDocumentin classReportWriter
-
endDocument
public void endDocument()- Specified by:
endDocumentin classReportWriter
-
printTag
protected void printTag(File report, String tag, Boolean isAddReportToSummary) throws SAXException, IOException - Throws:
SAXExceptionIOException
-