站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 4.0.0.11754MR2 API 英文版文档

ReflectiveVisitor (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.util
Class ReflectiveVisitor

java.lang.Object
  extended by org.drools.util.ReflectiveVisitor
All Implemented Interfaces:
Visitor
Direct Known Subclasses:
BRDRLPersistence.LHSPatternVisitor, BRDRLPersistence.RHSActionVisitor, DrlDumper, MemoryVisitor, XmlDumper

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

Constructor Summary
ReflectiveVisitor()
           
 
Method Summary
 void visit(Object object)
           
 void visitObject(Object object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReflectiveVisitor

public ReflectiveVisitor()
Method Detail

visit

public void visit(Object object)
Specified by:
visit in interface Visitor

visitObject

public void visitObject(Object object)


Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.