View Javadoc

1   package net.sf.tacos.binding;
2   
3   import org.apache.hivemind.Location;
4   import org.apache.tapestry.IBinding;
5   import org.apache.tapestry.IComponent;
6   import org.apache.tapestry.binding.AbstractBindingFactory;
7   
8   /**
9    * Implementation of {@link org.apache.tapestry.binding.BindingFactory} that constructs
10   * {@link net.sf.tacos.binding.CallbackFunctionBinding} instances.
11   * 
12   * @author Igor Drobiazko
13   * @since 4.1
14   */
15  public class CallbackFunctionBindingFactory extends AbstractBindingFactory {
16  	
17  	public IBinding createBinding(IComponent root, String description,
18  			String expression, Location location) {
19  		return new CallbackFunctionBinding(description, getValueConverter(), location, expression);
20  	}
21  
22  }