org.apache.commons.graph.algorithm.search
Class VisitorAdapter

java.lang.Object
  extended byorg.apache.commons.graph.algorithm.search.VisitorAdapter
All Implemented Interfaces:
Visitor

public class VisitorAdapter
extends java.lang.Object
implements Visitor

Author:
dixon-pd This is a do-nothing implementation of the Visitor class. Inherit from here if you would like to implement Visitor, but really have no need for some of the methods. (Or if you have no need for another superclass. . .)

Constructor Summary
VisitorAdapter()
           
 
Method Summary
 void discoverEdge(Edge edge)
          Description of the Method
 void discoverGraph(Graph graph)
          Description of the Method
 void discoverVertex(Vertex vertex)
          Description of the Method
 void finishEdge(Edge edge)
          Description of the Method
 void finishGraph(Graph graph)
          Description of the Method
 void finishVertex(Vertex vertex)
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VisitorAdapter

public VisitorAdapter()
Method Detail

discoverGraph

public void discoverGraph(Graph graph)
Description copied from interface: Visitor
Description of the Method

Specified by:
discoverGraph in interface Visitor
See Also:
Visitor.discoverGraph(Graph)

discoverVertex

public void discoverVertex(Vertex vertex)
Description copied from interface: Visitor
Description of the Method

Specified by:
discoverVertex in interface Visitor
See Also:
Visitor.discoverVertex(Vertex)

discoverEdge

public void discoverEdge(Edge edge)
Description copied from interface: Visitor
Description of the Method

Specified by:
discoverEdge in interface Visitor
See Also:
Visitor.discoverEdge(Edge)

finishEdge

public void finishEdge(Edge edge)
Description copied from interface: Visitor
Description of the Method

Specified by:
finishEdge in interface Visitor
See Also:
Visitor.finishEdge(Edge)

finishVertex

public void finishVertex(Vertex vertex)
Description copied from interface: Visitor
Description of the Method

Specified by:
finishVertex in interface Visitor
See Also:
Visitor.finishVertex(Vertex)

finishGraph

public void finishGraph(Graph graph)
Description copied from interface: Visitor
Description of the Method

Specified by:
finishGraph in interface Visitor
See Also:
Visitor.finishGraph(Graph)