public class KlocworkXMLReportHandler extends org.xml.sax.helpers.DefaultHandler
Constructor and Description |
---|
KlocworkXMLReportHandler(boolean enableHTMLReport,
KlocworkSeverities enabledSeverites,
KlocworkStatuses enabledStatuses) |
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endElement(String uri,
String localName,
String qName) |
ArrayList<KlocworkIssue> |
getIssuesList() |
int |
getTotalIssueCount() |
void |
startElement(String uri,
String localName,
String qName,
Attributes attributes) |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
public KlocworkXMLReportHandler(boolean enableHTMLReport, KlocworkSeverities enabledSeverites, KlocworkStatuses enabledStatuses)
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
startElement
in interface ContentHandler
startElement
in class org.xml.sax.helpers.DefaultHandler
SAXException
public void endElement(String uri, String localName, String qName) throws SAXException
endElement
in interface ContentHandler
endElement
in class org.xml.sax.helpers.DefaultHandler
SAXException
public void characters(char[] ch, int start, int length) throws SAXException
characters
in interface ContentHandler
characters
in class org.xml.sax.helpers.DefaultHandler
SAXException
public int getTotalIssueCount()
public ArrayList<KlocworkIssue> getIssuesList()
Copyright © 2016–2019. All rights reserved.