public class BindEvaluatorXImpl extends SimpleEvaluator implements BindEvaluatorX
BindEvaluatorX.| Constructor and Description |
|---|
BindEvaluatorXImpl(FunctionMapper mapper,
java.lang.Class<? extends ExpressionFactory> expfcls) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<?> |
getType(BindContext ctx,
Component comp,
ExpressionX expression)
Returns the result type of the specified expression.
|
java.lang.Object |
getValue(BindContext ctx,
Component comp,
ExpressionX expression)
Sets the specified value to the property resolved from the specified expression.
|
ValueReference |
getValueReference(BindContext ctx,
Component comp,
ExpressionX expression)
Returns the result reference of the specified expression.
|
boolean |
isReadOnly(BindContext ctx,
Component comp,
ExpressionX expression)
Returns whether the specified expression a read only expression.
|
protected XelContext |
newXelContext(BindContext ctx,
Component comp) |
ExpressionX |
parseExpressionX(BindContext ctx,
java.lang.String expression,
java.lang.Class<?> expectedType)
Prepares the expressionX.
|
void |
setValue(BindContext ctx,
Component comp,
ExpressionX expression,
java.lang.Object value)
Sets the specified value to the property resolved from the specified expression.
|
evaluate, evaluate, getExpressionFactory, getExpressionFactoryClass, getFunctionMapper, getVariableResolver, newXelContext, parseExpressionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitevaluate, evaluate, parseExpressionpublic BindEvaluatorXImpl(FunctionMapper mapper, java.lang.Class<? extends ExpressionFactory> expfcls)
public java.lang.Object getValue(BindContext ctx, Component comp, ExpressionX expression) throws XelException
BindEvaluatorXgetValue in interface BindEvaluatorXctx - the scoped bind context of this operationcomp - the scoped component context of this operationexpression - the expression that will resolve a propertyXelExceptionpublic void setValue(BindContext ctx, Component comp, ExpressionX expression, java.lang.Object value) throws XelException
BindEvaluatorXsetValue in interface BindEvaluatorXctx - the scoped bind context of this operationcomp - the scoped component context of this operationexpression - the expression that will resolve a propertyvalue - the value to be set into the resolved propertyXelExceptionpublic ExpressionX parseExpressionX(BindContext ctx, java.lang.String expression, java.lang.Class<?> expectedType) throws XelException
BindEvaluatorXparseExpressionX in interface BindEvaluatorXexpression - the expression to be prepared for being evaluated
later.expectedType - the expected type of the result of the evaluationXelExceptionpublic java.lang.Class<?> getType(BindContext ctx, Component comp, ExpressionX expression) throws XelException
BindEvaluatorXgetType in interface BindEvaluatorXctx - BindContextcomp - evaluation contextexpression - the expression that will resolve a propertyXelExceptionpublic ValueReference getValueReference(BindContext ctx, Component comp, ExpressionX expression) throws XelException
BindEvaluatorXgetValueReference in interface BindEvaluatorXctx - BindContextcomp - evaluation contextexpression - the expression that will resolve a propertyXelExceptionprotected XelContext newXelContext(BindContext ctx, Component comp)
public boolean isReadOnly(BindContext ctx, Component comp, ExpressionX expression) throws XelException
BindEvaluatorXisReadOnly in interface BindEvaluatorXctx - BindContextcomp - evaluation contextexpression - the expression that will resolve a propertyXelExceptionCopyright © 2005-2011 Potix Corporation. All Rights Reserved.