jess
Interface Visitable

All Known Implementing Classes:
Accumulate, Deffacts, Deffunction, Defglobal, Defmodule, Deftemplate, Fact, Funcall, Group, HasLHS, Pattern, Test1

public interface Visitable

Implementation of the standard Visitor pattern. Lets you, for example, print out complex nested structures without putting the printing code in the structures themselves.

(C) 2006 Sandia National Laboratories


Method Summary
 java.lang.Object accept(Visitor v)
          A proper accept() implementation should call one of the visitXXX() methods on the Visitor.
 

Method Detail

accept

public java.lang.Object accept(Visitor v)
A proper accept() implementation should call one of the visitXXX() methods on the Visitor.

Parameters:
v - a visitor to invoke
Returns:
whatever the invoked Visitor method returns.

© 2007 Sandia Corporation