public abstract class UnaryOperatorExpression extends Object implements Expression
| Constructor and Description |
|---|
UnaryOperatorExpression() |
| 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).
|
Expression |
getOperandExpression()
Gets the operand expression for this unary operator
|
Type |
getReturnType()
Gets the return type of the expression.
|
void |
initialize(ExpressionContext expressionContext,
Object parameters,
boolean validate)
Initializes the operand expression.
|
String |
toString() |
void |
uninitialize(ExpressionContext expressionContext)
Uninitializes the unary operator expression.
|
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetValuepublic 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 Expression getOperandExpression()
public Type getReturnType() throws ExpressionEngineException
ExpressiongetReturnType in interface ExpressionExpressionEngineException - If there is any problem during executionExpression.getReturnType()public void uninitialize(ExpressionContext expressionContext)
uninitialize 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)