| org.apache.tapestry.services.BindingFactory
All known Subclasses: org.apache.tapestry.internal.bindings.ValidateBindingFactory, org.apache.tapestry.internal.bindings.BlockBindingFactory, org.apache.tapestry.internal.bindings.ComponentBindingFactory, org.apache.tapestry.internal.bindings.MessageBindingFactory, org.apache.tapestry.internal.bindings.AssetBindingFactory, org.apache.tapestry.internal.bindings.TranslateBindingFactory, org.apache.tapestry.internal.bindings.LiteralBindingFactory, org.apache.tapestry.internal.bindings.PropBindingFactory,
BindingFactory | public interface BindingFactory (Code) | | Creates a binding of a particular type.
|
newBinding | Binding newBinding(String description, ComponentResources container, ComponentResources component, String expression, Location location)(Code) | | Creates a new binding instance.
The binding represents a connection between the container and the component (the component is
usually the child of the component, though in a few cases, it is the component itself). In
most cases, the expression is evaluated in terms of the resources of the container
and the component is ignored.
Parameters: description - of the binding, such as, "parameter foo" Parameters: container - the component, as represented by its resources, for which a binding is to becreated. Parameters: component - the component whose parameter is to be bound by the resulting binding (rarelyused) Parameters: expression - Parameters: location - from which the binding was generate, or null if not known the new binding instance |
|
|