public abstract class ExpressionEvaluator extends Object
| Constructor and Description |
|---|
ExpressionEvaluator() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
This method closes the expression evaluator.
|
abstract String |
evaluate(Object information)
This method evaluates the supplied information to
derive and return a result.
|
String |
getExpression()
This method returns the expression.
|
boolean |
getOptional()
This method gets whether the value being obtained
is optional.
|
void |
init()
This method initializes the expression evaluator.
|
void |
setExpression(String expr)
This method sets the expression.
|
void |
setOptional(boolean optional)
This method sets whether the value being obtained
is optional.
|
public String getExpression()
public void setExpression(String expr)
expr - The expressionpublic boolean getOptional()
public void setOptional(boolean optional)
optional - Whether the value associated with the expression is optionalpublic void init()
throws Exception
Exception - Failed to initializepublic abstract String evaluate(Object information)
information - The informationCopyright © 2013-2015 JBoss by Red Hat. All Rights Reserved.