Class SagaParser
java.lang.Object
org.eluder.coveralls.maven.plugin.parser.AbstractXmlEventParser
org.eluder.coveralls.maven.plugin.parser.SagaParser
- All Implemented Interfaces:
CoverageParser
The Class SagaParser.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSagaParser(File coverageFile, SourceLoader sourceLoader) Instantiates a new saga parser. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidonEvent(XMLStreamReader xml, SourceCallback callback) On event.Methods inherited from class AbstractXmlEventParser
createEventReader, getCoverageFile, isEndElement, isStartElement, loadSource, parse
-
Field Details
-
source
The source. -
inMethods
protected boolean inMethodsThe in methods.
-
-
Constructor Details
-
SagaParser
Instantiates a new saga 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.
-