Class CloverReportParser.CloverXmlHandler
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- com.atlassian.bamboo.clover.builder.coverage.CloverReportParser.CloverXmlHandler
-
- All Implemented Interfaces:
ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
- Enclosing class:
- CloverReportParser
protected static class CloverReportParser.CloverXmlHandler extends DefaultHandler
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CloverXmlHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
endElement(@NotNull String uri, @NotNull String localName, @NotNull String qName)
@Nullable CloverReportParser.ProjectMetrics
getProjectMetrics()
void
startDocument()
void
startElement(@NotNull String uri, @NotNull String localName, @NotNull String qName, @NotNull Attributes attributes)
-
Methods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning
-
-
-
-
Method Detail
-
startDocument
public void startDocument() throws SAXException
- Specified by:
startDocument
in interfaceContentHandler
- Overrides:
startDocument
in classDefaultHandler
- Throws:
SAXException
-
startElement
public void startElement(@NotNull @NotNull String uri, @NotNull @NotNull String localName, @NotNull @NotNull String qName, @NotNull @NotNull Attributes attributes) throws SAXException
- Specified by:
startElement
in interfaceContentHandler
- Overrides:
startElement
in classDefaultHandler
- Throws:
SAXException
-
endElement
public void endElement(@NotNull @NotNull String uri, @NotNull @NotNull String localName, @NotNull @NotNull String qName) throws SAXException
- Specified by:
endElement
in interfaceContentHandler
- Overrides:
endElement
in classDefaultHandler
- Throws:
SAXException
-
getProjectMetrics
@Nullable public @Nullable CloverReportParser.ProjectMetrics getProjectMetrics()
-
-