org.zkoss.bind.sys
Interface ReferenceBinding

All Superinterfaces:
Binding, LoadBinding
All Known Implementing Classes:
ReferenceBindingImpl

public interface ReferenceBinding
extends LoadBinding

A reference to an expression.

Since:
6.0.0
Author:
henrichen
See Also:
XelELContext.getVariableMapper()

Method Summary
 java.lang.String getPropertyString()
          Returns the reference expression script of this binding.
 java.lang.Object getValue(BindELContext ctx)
          Returns the referenced value.
 void invalidateCache()
          Invalidate cached value of this reference.
 void setValue(BindELContext ctx, java.lang.Object value)
          Sets the value to referenced object
 
Methods inherited from interface org.zkoss.bind.sys.LoadBinding
load
 
Methods inherited from interface org.zkoss.bind.sys.Binding
getArgs, getBinder, getComponent
 

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.



Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo