Interface NFEExpressionAnalyzer
-
- All Known Implementing Classes:
ExpressionLexicalAnalyzer
public interface NFEExpressionAnalyzerThis interface defines the methods to set an expression and build it.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReturnValuebuild(NFEFeature feature)Builds the expression and return the expression value.voidsetExpression(java.lang.String expression)Sets the expression to analyze.
-
-
-
Method Detail
-
build
ReturnValue build(NFEFeature feature) throws InvalidExpressionException
Builds the expression and return the expression value.- Parameters:
feature- feature to use in the expression.- Returns:
- return value, the value can be a boolean or a double.
- Throws:
InvalidExpressionException- if the expression is not valid
-
setExpression
void setExpression(java.lang.String expression)
Sets the expression to analyze.- Parameters:
expression- expression
-
-