org.zkoss.bind.impl.ImplicitObjectContributorImpl Maven / Gradle / Ivy
package org.zkoss.bind.impl;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
import org.zkoss.bind.Binder;
import org.zkoss.bind.sys.CommandBinding;
import org.zkoss.zk.ui.event.Event;
/**
* contribute implicit object of zkbind EL
* @author dennis
* @since 6.5.1
*/
public class ImplicitObjectContributorImpl implements ImplicitObjectContributor, Serializable {
private static final long serialVersionUID = 1L;
public Map contirbuteCommandObject(Binder binder, CommandBinding binding, Event event) {
HashMap implicit = new HashMap();
implicit.put("event", event);
return implicit;
}
}