Package org.openjump.core.feature
Class BeanshellAttributeOperation
- java.lang.Object
-
- org.openjump.core.feature.BeanshellAttributeOperation
-
-
Constructor Summary
Constructors Constructor Description BeanshellAttributeOperation(PlugInContext context, AttributeType type, String bshExpression)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()Objectevaluate(BasicFeature f)Objectinvoke(Feature feature)static StringnormalizeVarName(String s)StringtoString()
-
-
-
Constructor Detail
-
BeanshellAttributeOperation
public BeanshellAttributeOperation(PlugInContext context, AttributeType type, String bshExpression) throws bsh.EvalError
- Throws:
bsh.EvalError
-
-
Method Detail
-
evaluate
public Object evaluate(BasicFeature f) throws bsh.EvalError, NumberFormatException, IllegalArgumentException, ParseException
- Throws:
bsh.EvalErrorNumberFormatExceptionIllegalArgumentExceptionParseException
-
clone
public Object clone() throws CloneNotSupportedException
- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
-