Package org.zkoss.bind.sys
Interface ReferenceBinding
- All Superinterfaces:
Binding,LoadBinding
- All Known Implementing Classes:
IndirectBinding,ReferenceBindingImpl
A reference to an expression.
- Since:
- 6.0.0
- Author:
- henrichen
- See Also:
-
XelELContext.getVariableMapper()
-
Method Summary
Modifier and TypeMethodDescriptionReturns the reference expression script of this binding.getValue(BindELContext ctx) Returns the referenced value.voidInvalidate cached value of this reference.voidsetValue(BindELContext ctx, Object value) Sets the value to referenced objectMethods inherited from interface org.zkoss.bind.sys.Binding
getArgs, getBinder, getComponentMethods inherited from interface org.zkoss.bind.sys.LoadBinding
load
-
Method Details
-
getValue
Returns the referenced value.- Parameters:
ctx- the context to evaluate the reference expression.- Returns:
- the referenced value.
-
setValue
Sets the value to referenced object- Parameters:
ctx- the context to evaluate the reference expression.
-
getPropertyString
String getPropertyString()Returns the reference expression script of this binding.- Returns:
- the reference expression script of this binding.
-
invalidateCache
void invalidateCache()Invalidate cached value of this reference.
-