org.apache.commons.graph.visit
Class BaseGraphVisitHandler<V extends Vertex,E extends Edge<V>>

java.lang.Object
  extended by org.apache.commons.graph.visit.BaseGraphVisitHandler<V,E>
Type Parameters:
V - the Graph vertices type
E - the Graph edges type
All Implemented Interfaces:
GraphVisitHandler<V,E>

public class BaseGraphVisitHandler<V extends Vertex,E extends Edge<V>>
extends Object
implements GraphVisitHandler<V,E>

Base NOOP GraphVisitHandler implementation.


Constructor Summary
BaseGraphVisitHandler()
           
 
Method Summary
 void discoverEdge(E edge)
          Description of the Method
 void discoverGraph(Graph<V,E> graph)
          Description of the Method
 void discoverVertex(V vertex)
          Description of the Method
 void finishEdge(E edge)
          Description of the Method
 void finishGraph(Graph<V,E> graph)
          Description of the Method
 void finishVertex(V 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

BaseGraphVisitHandler

public BaseGraphVisitHandler()
Method Detail

discoverGraph

public void discoverGraph(Graph<V,E> graph)
Description of the Method

Specified by:
discoverGraph in interface GraphVisitHandler<V extends Vertex,E extends Edge<V>>

discoverVertex

public void discoverVertex(V vertex)
Description of the Method

Specified by:
discoverVertex in interface GraphVisitHandler<V extends Vertex,E extends Edge<V>>

discoverEdge

public void discoverEdge(E edge)
Description of the Method

Specified by:
discoverEdge in interface GraphVisitHandler<V extends Vertex,E extends Edge<V>>

finishEdge

public void finishEdge(E edge)
Description of the Method

Specified by:
finishEdge in interface GraphVisitHandler<V extends Vertex,E extends Edge<V>>

finishVertex

public void finishVertex(V vertex)
Description of the Method

Specified by:
finishVertex in interface GraphVisitHandler<V extends Vertex,E extends Edge<V>>

finishGraph

public void finishGraph(Graph<V,E> graph)
Description of the Method

Specified by:
finishGraph in interface GraphVisitHandler<V extends Vertex,E extends Edge<V>>


Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.