edu.wpi.cs.dsrg.xmldb.xat.testfiles
Class StatisticsGatheringVisitor

java.lang.Object
  |
  +--edu.wpi.cs.dsrg.xmldb.xat.common.visitorpattern.InheritableVisitor
        |
        +--edu.wpi.cs.dsrg.xmldb.xat.testfiles.StatisticsGatheringVisitor

public class StatisticsGatheringVisitor
extends InheritableVisitor

This Class is used to test the Statistics Gatiering component.

Since:
1.0

Constructor Summary
StatisticsGatheringVisitor()
           
 
Method Summary
static void addTempTree(XATTree tree)
           
 java.lang.Object dispatch()
          To visit a null object.
 java.lang.Object dispatch(java.lang.Object o)
          To visit any object.
 int getNumberOfNodes()
           
 int getNumberOfSavedColumns()
           
static void resetTempTrees()
           
 java.lang.Object visit(XATNode node)
           
 java.lang.Object visit(XATTree tree)
           
 void visitTempTrees()
           
 
Methods inherited from class edu.wpi.cs.dsrg.xmldb.xat.common.visitorpattern.InheritableVisitor
getAncestors, getMethod, visit, visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatisticsGatheringVisitor

public StatisticsGatheringVisitor()
Method Detail

addTempTree

public static void addTempTree(XATTree tree)

dispatch

public java.lang.Object dispatch()
Description copied from class: InheritableVisitor
To visit a null object.
Overrides:
dispatch in class InheritableVisitor

dispatch

public java.lang.Object dispatch(java.lang.Object o)
Description copied from class: InheritableVisitor
To visit any object.
Overrides:
dispatch in class InheritableVisitor

getNumberOfNodes

public int getNumberOfNodes()

getNumberOfSavedColumns

public int getNumberOfSavedColumns()

resetTempTrees

public static void resetTempTrees()

visit

public java.lang.Object visit(XATTree tree)

visit

public java.lang.Object visit(XATNode node)

visitTempTrees

public void visitTempTrees()