org.shapelogic.scripting
Class FunctionCalcIndex0<E>
java.lang.Object
org.shapelogic.scripting.BaseScriptingFunction
org.shapelogic.scripting.FunctionCalcIndex0<E>
- All Implemented Interfaces:
- CalcIndex0<E>
public class FunctionCalcIndex0<E>
- extends BaseScriptingFunction
- implements CalcIndex0<E>
IndexTransform based on an expression in a Scripting language using JSR 223.
Requires Groovy to be installed. Need special installation of groovy-engine.jar
that need to be downloade from Sun.
Requires that the scripting language support the invocable interface.
- Author:
- Sami Badawi
Constructor Summary |
FunctionCalcIndex0(java.lang.String name,
java.lang.String expression)
|
FunctionCalcIndex0(java.lang.String functionName,
java.lang.String expression,
java.lang.String language)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FunctionCalcIndex0
public FunctionCalcIndex0(java.lang.String functionName,
java.lang.String expression,
java.lang.String language)
FunctionCalcIndex0
public FunctionCalcIndex0(java.lang.String name,
java.lang.String expression)
invoke
public E invoke(int index)
- Specified by:
invoke
in interface CalcIndex0<E>
Copyright © 2009. All Rights Reserved.