001 package net.sf.tacos.seam.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 creates
010 * {@link net.sf.tacos.seam.binding.ELBinding}instances.
011 *
012 * @author Igor Drobiazko
013 *
014 */
015 public class ELBindingFactory extends AbstractBindingFactory {
016
017 public IBinding createBinding(IComponent root, String description,
018 String expression, Location location) {
019 return new ELBinding(expression, getValueConverter(), location);
020 }
021
022 }