Package org.zkoss.bind.sys
Interface ReferenceBinding
-
- All Superinterfaces:
Binding,LoadBinding
- All Known Implementing Classes:
IndirectBinding,ReferenceBindingImpl
public interface ReferenceBinding extends LoadBinding
A reference to an expression.- Since:
- 6.0.0
- Author:
- henrichen
- See Also:
XelELContext.getVariableMapper()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetPropertyString()Returns the reference expression script of this binding.java.lang.ObjectgetValue(BindELContext ctx)Returns the referenced value.voidinvalidateCache()Invalidate cached value of this reference.voidsetValue(BindELContext ctx, java.lang.Object value)Sets the value to referenced object-
Methods inherited from interface org.zkoss.bind.sys.Binding
getArgs, getBinder, getComponent
-
Methods inherited from interface org.zkoss.bind.sys.LoadBinding
load
-
-
-
-
Method Detail
-
getValue
java.lang.Object getValue(BindELContext ctx)
Returns the referenced value.- Parameters:
ctx- the context to evaluate the reference expression.- Returns:
- the referenced value.
-
setValue
void setValue(BindELContext ctx, java.lang.Object value)
Sets the value to referenced object- Parameters:
ctx- the context to evaluate the reference expression.
-
getPropertyString
java.lang.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.
-
-