Class BindingImpl

java.lang.Object
org.zkoss.bind.impl.BindingImpl
All Implemented Interfaces:
Serializable, Binding
Direct Known Subclasses:
ChildrenBindingImpl, CommandBindingImpl, FormBindingImpl, LoadTemplateBindingImpl, PropertyBindingImpl, ReferenceBindingImpl

public class BindingImpl extends Object implements Binding, Serializable
Base implementation for implementing a Binding
Since:
6.0.0
Author:
henrichen
See Also:
  • Constructor Details

    • BindingImpl

      protected BindingImpl(Binder binder, org.zkoss.zk.ui.Component comp, Map<String,Object> args)
  • Method Details

    • getComponent

      public org.zkoss.zk.ui.Component getComponent()
      Description copied from interface: Binding
      Returns the associated component of this binding.
      Specified by:
      getComponent in interface Binding
      Returns:
      the associated component of this binding.
    • getBinder

      public Binder getBinder()
      Description copied from interface: Binding
      Returns the owner binder of this binding.
      Specified by:
      getBinder in interface Binding
      Returns:
      the owner binder of this binding.
    • getArgs

      public Map<String,Object> getArgs()
      Description copied from interface: Binding
      Returns an argument <tags, object> pairs map(read only).
      Specified by:
      getArgs in interface Binding
      Returns:
      an argument <tags, object> pairs map(read only).
    • setAttribute

      protected Object setAttribute(BindContext ctx, Object key, Object value)
    • getAttribute

      protected Object getAttribute(BindContext ctx, Object key)
    • containsAttribute

      protected boolean containsAttribute(BindContext ctx, Object key)