001 package net.sf.tacos.binding; 002 003 import org.apache.hivemind.Location; 004 import org.apache.tapestry.IBinding; 005 import org.apache.tapestry.IComponent; 006 import org.apache.tapestry.binding.AbstractBindingFactory; 007 008 /** 009 * Implementation of {@link org.apache.tapestry.binding.BindingFactory} that constructs 010 * {@link net.sf.tacos.binding.CallbackFunctionBinding} instances. 011 * 012 * @author Igor Drobiazko 013 * @since 4.1 014 */ 015 public class CallbackFunctionBindingFactory extends AbstractBindingFactory { 016 017 public IBinding createBinding(IComponent root, String description, 018 String expression, Location location) { 019 return new CallbackFunctionBinding(description, getValueConverter(), location, expression); 020 } 021 022 }