org.zilonis.network.adapter
Class SISCEvaluator

java.lang.Object
  extended by org.zilonis.network.adapter.SISCEvaluator
All Implemented Interfaces:
SchemeEvaluator
Direct Known Subclasses:
FieldSISCEvaluator

public class SISCEvaluator
extends java.lang.Object
implements SchemeEvaluator


Constructor Summary
SISCEvaluator(java.lang.String expression, java.lang.String[] variables)
           
 
Method Summary
 java.lang.String createSISCProcedure(java.lang.String expression, java.lang.String[] variables)
           
 boolean evalBooleanExpression(Scope scope, Token token)
           
 java.lang.String evalExpression(Scope scope, Token token)
           
 java.lang.String evaluate(java.lang.String[] parameters)
           
 java.lang.String[] getParameters(Token token)
           
 java.lang.String[] getVariables()
           
 Value[] getVariables(java.lang.String[] parameters)
           
 void setEarlierConditions(Condition earlierConditions)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SISCEvaluator

public SISCEvaluator(java.lang.String expression,
                     java.lang.String[] variables)
Method Detail

createSISCProcedure

public java.lang.String createSISCProcedure(java.lang.String expression,
                                            java.lang.String[] variables)

getVariables

public java.lang.String[] getVariables()
Specified by:
getVariables in interface SchemeEvaluator

getVariables

public Value[] getVariables(java.lang.String[] parameters)

evalBooleanExpression

public boolean evalBooleanExpression(Scope scope,
                                     Token token)
Specified by:
evalBooleanExpression in interface SchemeEvaluator

setEarlierConditions

public void setEarlierConditions(Condition earlierConditions)
Specified by:
setEarlierConditions in interface SchemeEvaluator

getParameters

public java.lang.String[] getParameters(Token token)

evalExpression

public java.lang.String evalExpression(Scope scope,
                                       Token token)
Specified by:
evalExpression in interface SchemeEvaluator

evaluate

public java.lang.String evaluate(java.lang.String[] parameters)