org.shapelogic.scripting
Class BaseScriptingFunction

java.lang.Object
  extended by org.shapelogic.scripting.BaseScriptingFunction
Direct Known Subclasses:
FunctionCalc0, FunctionCalc1, FunctionCalcIndex0, FunctionCalcIndex1, FunctionEvalCalcInvoke, FunctionPredicate

public abstract class BaseScriptingFunction
extends java.lang.Object

BaseScriptingFunction base of any scripting functions.

Author:
Sami Badawi

Field Summary
protected  java.lang.String _expression
           
protected  java.lang.String _functionName
           
protected  java.lang.String _language
           
protected  javax.script.ScriptEngine _scriptEngine
           
static java.lang.String DEFAULT_LANGUAGE
           
 
Constructor Summary
BaseScriptingFunction()
           
 
Method Summary
 javax.script.ScriptEngine getScriptEngine()
          Lazy init for a ScriptEngine
 void put(java.lang.String key, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_LANGUAGE

public static final java.lang.String DEFAULT_LANGUAGE
See Also:
Constant Field Values

_functionName

protected java.lang.String _functionName

_expression

protected java.lang.String _expression

_language

protected java.lang.String _language

_scriptEngine

protected javax.script.ScriptEngine _scriptEngine
Constructor Detail

BaseScriptingFunction

public BaseScriptingFunction()
Method Detail

getScriptEngine

public javax.script.ScriptEngine getScriptEngine()
Lazy init for a ScriptEngine


put

public void put(java.lang.String key,
                java.lang.Object value)


Copyright © 2009. All Rights Reserved.