jess
Interface Visitable

All Known Implementing Classes:
Accumulate, Deffacts, Deffunction, Defglobal, Defmodule, Defquery, Defrule, 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) 2013 Sandia Corporation


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

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.

2013 Sandia Corporation