hudson.plugins.testabilityexplorer.parser
Class XmlStatisticsParser
java.lang.Object
hudson.plugins.testabilityexplorer.parser.StatisticsParser
hudson.plugins.testabilityexplorer.parser.XmlStatisticsParser
public class XmlStatisticsParser
- extends StatisticsParser
Parses and merges Testability Explorer XML reports.
- Author:
- reik.schatz
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlStatisticsParser
public XmlStatisticsParser(ConverterSelector converterSelector)
parse
public java.util.Collection<Statistic> parse(java.io.File inFile)
- Specified by:
parse in class StatisticsParser
parse
public java.util.Collection<Statistic> parse(java.io.InputStream inputStream)
- Specified by:
parse in class StatisticsParser
processRootElement
protected CostSummary processRootElement(org.xmlpull.v1.XmlPullParser xpp)
throws java.io.IOException,
org.xmlpull.v1.XmlPullParserException
- Creates a new
CostSummary from the specified parser. The parser is expected to be at the root element.
- Parameters:
xpp - an XmlPullParser
- Returns:
- CostSummary
- Throws:
java.io.IOException - if the underlaying file or stream cannot be processed
org.xmlpull.v1.XmlPullParserException - if the underlaying xml cannot be parsed
Copyright © 2009. All Rights Reserved.