Gephi Toolkit Javadoc

org.gephi.statistics
Class StatisticsModelImpl

java.lang.Object
  extended by org.gephi.statistics.StatisticsModelImpl
All Implemented Interfaces:
StatisticsModel

public class StatisticsModelImpl
extends java.lang.Object
implements StatisticsModel

Author:
Mathieu Bastian, Patrick J. McSweeney

Constructor Summary
StatisticsModelImpl()
           
 
Method Summary
 void addReport(Statistics statistics)
           
 java.lang.String getReport(java.lang.Class<? extends Statistics> statisticsClass)
          Returns the report for the given statistics class or null if no report exists for this statistics.
 void readXML(javax.xml.stream.XMLStreamReader reader)
           
 void writeXML(javax.xml.stream.XMLStreamWriter writer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatisticsModelImpl

public StatisticsModelImpl()
Method Detail

addReport

public void addReport(Statistics statistics)

getReport

public java.lang.String getReport(java.lang.Class<? extends Statistics> statisticsClass)
Description copied from interface: StatisticsModel
Returns the report for the given statistics class or null if no report exists for this statistics.

Specified by:
getReport in interface StatisticsModel
Parameters:
statisticsClass - a statistics class
Returns:
the report or null if not found

writeXML

public void writeXML(javax.xml.stream.XMLStreamWriter writer)
              throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

readXML

public void readXML(javax.xml.stream.XMLStreamReader reader)
             throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

Gephi Toolkit Javadoc