public class PropertyExpression extends java.lang.Object implements ExpressionX, java.io.Serializable
Note that this class is used for Data Binding internal only
Constructor and Description |
---|
PropertyExpression(Component cmp,
java.lang.String field) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
evaluate(XelContext ctx)
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 ctx)
Returns whether this is a read only (cannot setValue) expression.
|
void |
setValue(XelContext ctx,
java.lang.Object value)
Set values into the property resolved by this expression.
|
public PropertyExpression(Component cmp, java.lang.String field)
public java.lang.Object evaluate(XelContext ctx) throws XelException
Expression
evaluate
in interface Expression
XelException
public boolean isReadOnly(XelContext ctx) throws XelException
ExpressionX
isReadOnly
in interface ExpressionX
ctx
- the evaluation contextXelException
public void setValue(XelContext ctx, java.lang.Object value) throws XelException
ExpressionX
setValue
in interface ExpressionX
ctx
- 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 contextCopyright © 2005-2021 Potix Corporation. All Rights Reserved.