Class BinderConfiguration
java.lang.Object
org.springframework.webflow.engine.builder.BinderConfiguration
Contains the information needed to bind model to a view. This information consists of one or more
bindings
that connect properties of the model to UI elements of the view.- Author:
- Keith Donald
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A binding that provides the information needed to connect an element of the view to a property of the model. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addBinding
(BinderConfiguration.Binding binding) Adds a new binding to this binding configuration.getBinding
(String name) Gets the binding with the specified name, or returns null if no such binding is found.Returns the set of bindings associated with this binding configuration.getConverterId
(String name) Gets the converterId for the binding with the specified name.
-
Constructor Details
-
BinderConfiguration
public BinderConfiguration()
-
-
Method Details
-
addBinding
Adds a new binding to this binding configuration.- Parameters:
binding
- the binding
-
getBindings
Returns the set of bindings associated with this binding configuration. -
getBinding
Gets the binding with the specified name, or returns null if no such binding is found.- Parameters:
name
- the name of the binding.- Returns:
- the binding
-
getConverterId
Gets the converterId for the binding with the specified name. Returns null if either a binding or a converterId for the given name is not found.- Parameters:
name
- the name of the binding.- Returns:
- the binding
-