prolog.demonstration
Class DemoProgram

java.lang.Object
  |
  +--prolog.implementation.Program
        |
        +--prolog.demonstration.DemoProgram
All Implemented Interfaces:
IProgram

public class DemoProgram
extends Program


Field Summary
protected  Tree tree
          the animation tree
 
Fields inherited from class prolog.implementation.Program
facts, logger, querys, statements, symbolTable
 
Constructor Summary
DemoProgram(Tree tree)
          constructor
 
Method Summary
static void onException(java.lang.Throwable t)
           
 void run()
          the method processing the program
 
Methods inherited from class prolog.implementation.Program
clear, genXml, getFacts, getQuerys, getStatements, getSymbolTable, logFinalResult, setFacts, setLogger, setStatements, setSymbolTable
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

tree

protected Tree tree
the animation tree
Constructor Detail

DemoProgram

public DemoProgram(Tree tree)
constructor
Method Detail

run

public void run()
         throws ParameterMatchingError
the method processing the program
Overrides:
run in class Program
Throws:
ParameterMatchingError -  

onException

public static void onException(java.lang.Throwable t)