org.shapelogic.scripting
Class FunctionCalc1<In,E>
java.lang.Object
org.shapelogic.scripting.BaseScriptingFunction
org.shapelogic.scripting.FunctionCalc1<In,E>
- All Implemented Interfaces:
- Calc1<In,E>
public class FunctionCalc1<In,E>
- extends BaseScriptingFunction
- implements Calc1<In,E>
Transform 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 |
FunctionCalc1(java.lang.String functionName,
java.lang.String expression)
|
FunctionCalc1(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 |
FunctionCalc1
public FunctionCalc1(java.lang.String functionName,
java.lang.String expression,
java.lang.String language)
FunctionCalc1
public FunctionCalc1(java.lang.String functionName,
java.lang.String expression)
invoke
public E invoke(In input)
- Specified by:
invoke
in interface Calc1<In,E>
Copyright © 2008. All Rights Reserved.