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:
- java.io.Externalizable, java.io.Serializable
public class ValueExpressionImplEx
- extends ValueExpressionImpl
An extension of ValueExpressionImpl to do a lazy initiating EL expression construction.
- Since:
- 8.0.0
- Author:
- jumperchen
- See Also:
- Serialized Form
Methods inherited from class org.zkoss.zel.impl.ValueExpressionImpl |
equals, getExpectedType, getExpressionString, getType, getValueReference, hashCode, isLiteralText, isReadOnly, readExternal, toString, writeExternal |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ValueExpressionImplEx
public ValueExpressionImplEx()
ValueExpressionImplEx
public ValueExpressionImplEx(java.lang.String expr,
Node node,
FunctionMapper fnMapper,
VariableMapper varMapper,
java.lang.Class<?> expectedType,
BindExpressionBuilderEx buidler)
getValue
public java.lang.Object getValue(ELContext context)
throws PropertyNotFoundException,
ELException
- Overrides:
getValue
in class ValueExpressionImpl
- 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 readable
ELException
- Wraps any exception throw whilst resolving a property or
variable
setValue
public void setValue(ELContext context,
java.lang.Object value)
throws PropertyNotFoundException,
PropertyNotWritableException,
ELException
- Overrides:
setValue
in class ValueExpressionImpl
- 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 found
PropertyNotWritableException
- If a property/variable resolution failed because a match was
found but was not writable
ELException
- Wraps any exception throw whilst resolving a property or
variable
Copyright © 2005-2011 Potix Corporation. All Rights Reserved.