net.sf.jga.fn
Class AbstractVisitor

java.lang.Object
  extended by net.sf.jga.fn.AbstractVisitor
All Implemented Interfaces:
Visitor
Direct Known Subclasses:
AdaptorVisitor

public abstract class AbstractVisitor
extends java.lang.Object
implements Visitor

Shell implementation of Visitor. Typically, the visit(Visitable) method is implemented as a no-op, which this class provides.

Copyright © 2002-2005 David A. Hall

Author:
David A. Hall

Constructor Summary
AbstractVisitor()
           
 
Method Summary
 void visit(Visitable visitable)
          No-op implementation by default.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractVisitor

public AbstractVisitor()
Method Detail

visit

public void visit(Visitable visitable)
No-op implementation by default.

Specified by:
visit in interface Visitor


Copyright © 2002-2006 David A. Hall. All Rights Reserved.