public class BindingSourceImpl extends java.lang.Object implements BindingSource
tapestry.bindings.BindingSource
service.Constructor and Description |
---|
BindingSourceImpl() |
Modifier and Type | Method and Description |
---|---|
IBinding |
createBinding(IComponent component,
java.lang.String bindingDescription,
java.lang.String reference,
java.lang.String defaultPrefix,
org.apache.hivemind.Location location)
Creates a new binding.
|
void |
initializeService() |
void |
setContributions(java.util.List contributions) |
public BindingSourceImpl()
public void initializeService()
public IBinding createBinding(IComponent component, java.lang.String bindingDescription, java.lang.String reference, java.lang.String defaultPrefix, org.apache.hivemind.Location location)
BindingSource
literal binding
) or
consists of prefix and a path, i.e., ognl:myProperty
.
When a prefix exists and is identified, it is used to select the correct
BindingFactory
, and the remainder of the path (i.e., myProperty
createBinding
in interface BindingSource
component
- the component for which the binding is created; the component is used
as a kind of context for certain types of bindings (for example, the root object when
evaluating OGNL expressions).bindingDescription
- description
for the new bindingreference
- the binding reference used to create the binding, possibly including a prefix to define the type.
If the reference does not include a prefix, then the defaultBindingType is used as the prefixlocation
- location used to report errors in the bindingpublic void setContributions(java.util.List contributions)