Package org.zkoss.zkmax.bind.impl
Class ValueExpressionImplEx
java.lang.Object
org.zkoss.zel.Expression
org.zkoss.zel.ValueExpression
org.zkoss.zel.impl.ValueExpressionImpl
org.zkoss.zkmax.bind.impl.ValueExpressionImplEx
- All Implemented Interfaces:
Externalizable,Serializable
An extension of ValueExpressionImpl to do a lazy initiating EL expression construction.
- Since:
- 8.0.0
- Author:
- jumperchen
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionValueExpressionImplEx(String expr, Node node, FunctionMapper fnMapper, VariableMapper varMapper, Class<?> expectedType, BindExpressionBuilderEx buidler) -
Method Summary
Methods inherited from class org.zkoss.zel.impl.ValueExpressionImpl
equals, getExpectedType, getExpressionString, getType, getValueReference, hashCode, isLiteralText, isReadOnly, readExternal, toString, writeExternal
-
Constructor Details
-
ValueExpressionImplEx
public ValueExpressionImplEx() -
ValueExpressionImplEx
public ValueExpressionImplEx(String expr, Node node, FunctionMapper fnMapper, VariableMapper varMapper, Class<?> expectedType, BindExpressionBuilderEx buidler)
-
-
Method Details
-
getValue
- Overrides:
getValuein classValueExpressionImpl- Parameters:
context- The EL context for this evaluation- Returns:
- The result of evaluating this value expression
- Throws:
PropertyNotFoundException- If a property/variable resolution failed because no match was found or a match was found but was not readableELException- Wraps any exception throw whilst resolving a property or variable
-
setValue
public void setValue(ELContext context, Object value) throws PropertyNotFoundException, PropertyNotWritableException, ELException - Overrides:
setValuein classValueExpressionImpl- Parameters:
context- The EL context for this evaluationvalue- The value to set the property to which this value expression refers- Throws:
PropertyNotFoundException- If a property/variable resolution failed because no match was foundPropertyNotWritableException- If a property/variable resolution failed because a match was found but was not writableELException- Wraps any exception throw whilst resolving a property or variable
-