org.drools.reteoo
Class ReflectiveVisitor
java.lang.Object
org.drools.reteoo.ReflectiveVisitor
- All Implemented Interfaces:
- Visitor
- Direct Known Subclasses:
- ReteooDotDumpVisitor, ReteooPrintDumpVisitor
public abstract class ReflectiveVisitor
- extends Object
- implements Visitor
Java Tip 98: Reflect on the Visitor design pattern. Implement visitors in
Java, using reflection.
http://www.javaworld.com/javaworld/javatips/jw-javatip98.html
- Author:
- Jeremy Blosser
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
newline
static final String newline
ReflectiveVisitor
public ReflectiveVisitor()
visit
public void visit(Object object)
- Specified by:
visit
in interface Visitor
visitObject
public void visitObject(Object object)
Copyright © 2001-2005 The Codehaus. All Rights Reserved.