Class AbstractXmlReportWriter
- java.lang.Object
-
- org.verapdf.processor.reports.multithread.writer.ReportWriter
-
- org.verapdf.processor.reports.multithread.writer.AbstractXmlReportWriter
-
- Direct Known Subclasses:
MrrReportWriter,XmlReportWriter
public abstract class AbstractXmlReportWriter extends ReportWriter
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanisFirstReportprotected ReportParserEventHandlerreportHandlerprotected SAXParsersaxParserprotected XMLStreamWriterwriter-
Fields inherited from class org.verapdf.processor.reports.multithread.writer.ReportWriter
os
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractXmlReportWriter(OutputStream os, OutputStream errorStream)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidendDocument()protected abstract voidprintFirstReport(File report)protected voidprintTag(File report, String tag, Boolean isAddReportToSummary)voidstartDocument()-
Methods inherited from class org.verapdf.processor.reports.multithread.writer.ReportWriter
closeOutputStream, deleteTemp, merge, newInstance, write
-
-
-
-
Field Detail
-
writer
protected final XMLStreamWriter writer
-
saxParser
protected SAXParser saxParser
-
reportHandler
protected ReportParserEventHandler reportHandler
-
isFirstReport
protected boolean isFirstReport
-
-
Constructor Detail
-
AbstractXmlReportWriter
protected AbstractXmlReportWriter(OutputStream os, OutputStream errorStream) throws XMLStreamException, ParserConfigurationException, SAXException
-
-
Method Detail
-
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
-
-