public class ReferenceBindingImpl extends BindingImpl implements ReferenceBinding
ReferenceBinding
.Constructor and Description |
---|
ReferenceBindingImpl(Binder binder,
Component comp,
java.lang.String attr,
java.lang.String expression) |
Modifier and Type | Method and Description |
---|---|
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 |
load(BindContext ctx)
Load data into the source attribute from the target property.
|
void |
setValue(BindELContext ctx,
java.lang.Object val)
Sets the value to referenced object
|
java.lang.String |
toString() |
containsAttribute, getArgs, getAttribute, getBinder, getComponent, setAttribute
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getArgs, getBinder, getComponent
public java.lang.Object getValue(BindELContext ctx)
ReferenceBinding
getValue
in interface ReferenceBinding
ctx
- the context to evaluate the reference expression.public void setValue(BindELContext ctx, java.lang.Object val)
ReferenceBinding
setValue
in interface ReferenceBinding
ctx
- the context to evaluate the reference expression.public void load(BindContext ctx)
LoadBinding
load
in interface LoadBinding
ctx
- the binding runtime contextpublic java.lang.String getPropertyString()
ReferenceBinding
getPropertyString
in interface ReferenceBinding
public void invalidateCache()
ReferenceBinding
invalidateCache
in interface ReferenceBinding
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2005-2011 Potix Corporation. All Rights Reserved.