|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
net.objectlab.qalab.parser.BaseStatMerge
net.objectlab.qalab.parser.SimianStatMerge
public class SimianStatMerge
This class is able to read the XML output from Simian (version 2.x required) and integrate the violation results into our "qalab" xml format.
| Constructor Summary | |
|---|---|
SimianStatMerge()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getType()
|
void |
startElement(java.lang.String ignoreNamespaceURI,
java.lang.String localname,
java.lang.String qualifiedname,
org.xml.sax.Attributes attrs)
At the start of a new element, capture the filename and if the element is a result one, create a SingleStat to store for the given type. |
| Methods inherited from class net.objectlab.qalab.parser.BaseStatMerge |
|---|
addFileStatistics, addNewResults, addTotalStatistics, getFileCount, getFileStatistics, getMergerTimeStamp, getSrcDir, getTaskLogger, getTotalStatistics, incrementFileCount, isQuiet, mergeStats, preProcessSource, resetFileStatistics, setCurrentFile, setMergerTimeStamp, setQuiet, setSrcDir, setTaskLogger, setTotalStatistics |
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
|---|
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimianStatMerge()
| Method Detail |
|---|
public final java.lang.String getType()
public final void startElement(java.lang.String ignoreNamespaceURI,
java.lang.String localname,
java.lang.String qualifiedname,
org.xml.sax.Attributes attrs)
throws org.xml.sax.SAXException
startElement in interface org.xml.sax.ContentHandlerstartElement in class org.xml.sax.helpers.DefaultHandlerignoreNamespaceURI - ignore (present for interface implementation).localname - name of the current element.qualifiedname - element name.attrs - the XML attribute of the current element.
org.xml.sax.SAXException - any SAX issue
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||