public class ELXelExpression extends java.lang.Object implements ExpressionX, java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ELXelExpression.ValueReferenceImpl |
Modifier and Type | Field and Description |
---|---|
protected ValueExpression |
_expr |
Constructor and Description |
---|
ELXelExpression(ValueExpression expr) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
evaluate(XelContext xelc)
Evaluates an expression that was previously prepared.
|
java.lang.String |
getExpressionString()
Returns the expression in String form.
|
java.lang.Class |
getType(XelContext xelc)
Returns the result type of this expression.
|
ValueReference |
getValueReference(XelContext xelc)
Returns the target bean and field name of this expression.
|
boolean |
isReadOnly(XelContext xelc)
Returns whether this is a read only (cannot setValue) expression.
|
protected ELContext |
newELContext(XelContext xelc) |
void |
setValue(XelContext xelc,
java.lang.Object value)
Set values into the property resolved by this expression.
|
protected final ValueExpression _expr
public ELXelExpression(ValueExpression expr)
public java.lang.Object evaluate(XelContext xelc) throws XelException
Expression
evaluate
in interface Expression
XelException
public boolean isReadOnly(XelContext xelc) throws XelException
ExpressionX
isReadOnly
in interface ExpressionX
xelc
- the evaluation contextXelException
public void setValue(XelContext xelc, java.lang.Object value) throws XelException
ExpressionX
setValue
in interface ExpressionX
xelc
- the evaluation contextvalue
- the value to be set into the property resolved by this expressionXelException
public java.lang.String getExpressionString()
ExpressionX
getExpressionString
in interface ExpressionX
public java.lang.Class getType(XelContext xelc)
ExpressionX
getType
in interface ExpressionX
xelc
- the evaluation contextpublic ValueReference getValueReference(XelContext xelc)
ExpressionX
getValueReference
in interface ExpressionX
xelc
- the evaluation contextprotected ELContext newELContext(XelContext xelc)
Copyright © 2005-2018 Potix Corporation. All Rights Reserved.