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
Expressionevaluate in interface ExpressionXelExceptionpublic boolean isReadOnly(XelContext ctx) throws XelException
ExpressionXisReadOnly in interface ExpressionXctx - the evaluation contextXelExceptionpublic void setValue(XelContext ctx, java.lang.Object value) throws XelException
ExpressionXsetValue in interface ExpressionXctx - the evaluation contextvalue - the value to be set into the property resolved by this expressionXelExceptionpublic java.lang.String getExpressionString()
ExpressionXgetExpressionString in interface ExpressionXpublic java.lang.Class getType(XelContext xelc)
ExpressionXgetType in interface ExpressionXxelc - the evaluation contextpublic ValueReference getValueReference(XelContext xelc)
ExpressionXgetValueReference in interface ExpressionXxelc - the evaluation contextCopyright © 2005-2011 Potix Corporation. All Rights Reserved.