Class TranslateBindingFactory
- java.lang.Object
- 
- org.apache.tapestry5.internal.bindings.TranslateBindingFactory
 
- 
- All Implemented Interfaces:
- BindingFactory
 
 public class TranslateBindingFactory extends java.lang.Object implements BindingFactory Interprets the binding expression as the name of aTranslatorprovided by theTranslatorSource.
- 
- 
Constructor SummaryConstructors Constructor Description TranslateBindingFactory(FieldTranslatorSource source, StringInterner interner)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description BindingnewBinding(java.lang.String description, ComponentResources container, ComponentResources component, java.lang.String expression, Location location)Creates a new binding instance.
 
- 
- 
- 
Constructor Detail- 
TranslateBindingFactorypublic TranslateBindingFactory(FieldTranslatorSource source, StringInterner interner) 
 
- 
 - 
Method Detail- 
newBindingpublic Binding newBinding(java.lang.String description, ComponentResources container, ComponentResources component, java.lang.String expression, Location location) Description copied from interface:BindingFactoryCreates 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.- Specified by:
- newBindingin interface- BindingFactory
- Parameters:
- description- of the binding, such as, "parameter foo"
- container- the component, as represented by its resources, for which a binding is to be created.
- component- the component whose parameter is to be bound by the resulting binding (rarely used)
- location- from which the binding was generate, or null if not known
- Returns:
- the new binding instance
 
 
- 
 
-