Class JaCoCoParser
java.lang.Object
org.eluder.coveralls.maven.plugin.parser.AbstractXmlEventParser
org.eluder.coveralls.maven.plugin.parser.JaCoCoParser
- All Implemented Interfaces:
CoverageParser
The Class JaCoCoParser.
-
Constructor Summary
ConstructorsConstructorDescriptionJaCoCoParser(File coverageFile, SourceLoader sourceLoader) Instantiates a new jacoco parser. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidonEvent(XMLStreamReader xml, SourceCallback callback) On event.Methods inherited from class AbstractXmlEventParser
createEventReader, getCoverageFile, isEndElement, isStartElement, loadSource, parse
-
Constructor Details
-
JaCoCoParser
Instantiates a new jacoco parser.- Parameters:
coverageFile- the coverage filesourceLoader- the source loader
-
-
Method Details
-
onEvent
protected void onEvent(XMLStreamReader xml, SourceCallback callback) throws XMLStreamException, ProcessingException, IOException Description copied from class:AbstractXmlEventParserOn event.- Specified by:
onEventin classAbstractXmlEventParser- Parameters:
xml- the xmlcallback- the callback- Throws:
XMLStreamException- the XML stream exceptionProcessingException- the processing exceptionIOException- Signals that an I/O exception has occurred.
-