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
Modifier and TypeFieldDescriptionprotected boolean
protected ReportParserEventHandler
protected SAXParser
protected final XMLStreamWriter
Fields inherited from class org.verapdf.processor.reports.multithread.writer.ReportWriter
outputStreamWriter
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractXmlReportWriter
(PrintWriter outputStreamWriter, PrintWriter errorStreamWriter) -
Method Summary
Modifier and TypeMethodDescriptionvoid
protected abstract void
printFirstReport
(File report) protected void
void
Methods 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:
startDocument
in classReportWriter
-
endDocument
public void endDocument()- Specified by:
endDocument
in classReportWriter
-
printTag
protected void printTag(File report, String tag, Boolean isAddReportToSummary) throws SAXException, IOException - Throws:
SAXException
IOException
-