Class ReferenceBindingImpl

    • Constructor Detail

      • ReferenceBindingImpl

        public ReferenceBindingImpl​(Binder binder,
                                    Component comp,
                                    java.lang.String attr,
                                    java.lang.String expression)
    • Method Detail

      • getValue

        public java.lang.Object getValue​(BindELContext ctx)
        Description copied from interface: ReferenceBinding
        Returns the referenced value.
        Specified by:
        getValue in interface ReferenceBinding
        Parameters:
        ctx - the context to evaluate the reference expression.
        Returns:
        the referenced value.
      • setValue

        public void setValue​(BindELContext ctx,
                             java.lang.Object val)
        Description copied from interface: ReferenceBinding
        Sets the value to referenced object
        Specified by:
        setValue in interface ReferenceBinding
        Parameters:
        ctx - the context to evaluate the reference expression.
      • load

        public void load​(BindContext ctx)
        Description copied from interface: LoadBinding
        Load data into the source attribute from the target property.
        Specified by:
        load in interface LoadBinding
        Parameters:
        ctx - the binding runtime context
      • getPropertyString

        public java.lang.String getPropertyString()
        Description copied from interface: ReferenceBinding
        Returns the reference expression script of this binding.
        Specified by:
        getPropertyString in interface ReferenceBinding
        Returns:
        the reference expression script of this binding.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object