public class IdentifierExpression extends Object implements Expression
| Constructor and Description |
|---|
IdentifierExpression() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ExpressionVisitor visitor)
Allows an expression visitor to visit this expression and it's sub-expressions (implements Visitor design
pattern).
|
String |
getIdentifierName()
Gets the name of identifier.
|
Type |
getReturnType()
Gets the return type of the expression.
|
ValueObject |
getValue()
Executes and returns the value of this expression.
|
void |
initialize(ExpressionContext expressionContext,
Object parameters,
boolean validate)
Initializes the identifier name
|
String |
toString() |
void |
uninitialize(ExpressionContext expressionContext)
This is used to un-initialize the expression, so that expression can be
reused.
|
public Type getReturnType() throws ExpressionEngineException
ExpressiongetReturnType in interface ExpressionExpressionEngineException - If there is any problem during executionExpression.getReturnType()public ValueObject getValue() throws ExpressionEngineException
ExpressiongetValue in interface ExpressionExpressionEngineException - if there is any problem during executionExpression.getValue()public void initialize(ExpressionContext expressionContext, Object parameters, boolean validate) throws ExpressionEngineException
initialize in interface ExpressionexpressionContext - contextual information, may help in
initializationparameters - for example, sub expressions and identifiersExpressionEngineException - if there is any problem during executionorg.vedantatree.expressionoasis.expressions.Expression#initialize(org.vedantatree.expressionoasis.ExpressionContext,
java.lang.Object)public String getIdentifierName()
public void uninitialize(ExpressionContext expressionContext)
Expressionuninitialize in interface ExpressionexpressionContext - contextual information, may help in
un-initializationExpression.uninitialize(org.vedantatree.expressionoasis.ExpressionContext)public String toString()
toString in class ObjectObject.toString()public void accept(ExpressionVisitor visitor)
accept in interface Expressionvisitor - a visitor object that this expression must visit when accept is called.org.vedantatree.expressionoasis.expressions.Expression#accept(org.vedantatree.expressionoasis.ExpressionVisitor)