org.apache.tapestry.binding
Class HiveMindBindingFactory

java.lang.Object
  extended byorg.apache.tapestry.binding.AbstractBindingFactory
      extended byorg.apache.tapestry.binding.HiveMindBindingFactory
All Implemented Interfaces:
BindingFactory

public class HiveMindBindingFactory
extends AbstractBindingFactory

Constructs instances of HiveMindBinding.

Since:
4.0
Author:
Howard M. Lewis Ship

Constructor Summary
HiveMindBindingFactory()
           
 
Method Summary
 IBinding createBinding(IComponent root, java.lang.String bindingDescription, java.lang.String expression, org.apache.hivemind.Location location)
          Creates a new binding instance.
 void setInjectedValueProvider(InjectedValueProvider provider)
           
 
Methods inherited from class org.apache.tapestry.binding.AbstractBindingFactory
getValueConverter, setValueConverter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HiveMindBindingFactory

public HiveMindBindingFactory()
Method Detail

createBinding

public IBinding createBinding(IComponent root,
                              java.lang.String bindingDescription,
                              java.lang.String expression,
                              org.apache.hivemind.Location location)
Description copied from interface: BindingFactory
Creates a new binding instance.

Parameters:
root - the component that is the source of properties or messages (or etc.). When the path is "evaluated", the root component provides a context.
expression - The expression used to get (or update) a value. The interpretation of this expression is determined by the type of IBinding created by this factory. In some cases, it is simple the name of an object contained by the root component. For the common "ognl:" binding prefix, it is an OGNL expression to be evaluated on the root object.
location - The location of the binding, used to report any errors related to the binding, or to the component parameter the binding is bound to.

setInjectedValueProvider

public void setInjectedValueProvider(InjectedValueProvider provider)