public class StatisticsModelImpl extends Object implements StatisticsModel
| Constructor and Description |
|---|
StatisticsModelImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addReport(Statistics statistics) |
String |
getReport(Class<? extends Statistics> statisticsClass)
Returns the report for the given statistics class or
null if no report
exists for this statistics. |
void |
readXML(XMLStreamReader reader) |
void |
writeXML(XMLStreamWriter writer) |
public void addReport(Statistics statistics)
public String getReport(Class<? extends Statistics> statisticsClass)
StatisticsModelnull if no report
exists for this statistics.getReport in interface StatisticsModelstatisticsClass - a statistics classnull if not foundpublic void writeXML(XMLStreamWriter writer) throws XMLStreamException
XMLStreamExceptionpublic void readXML(XMLStreamReader reader) throws XMLStreamException
XMLStreamExceptionCopyright © 2007–2017. All rights reserved.