binding executor
This commit is contained in:
parent
29768cb068
commit
55a7ba8357
|
|
@ -0,0 +1,20 @@
|
||||||
|
package org.springframework.ui.binding.binder;
|
||||||
|
|
||||||
|
import org.springframework.ui.binding.config.BindingRuleConfiguration;
|
||||||
|
|
||||||
|
public interface BinderExecutor<M> {
|
||||||
|
|
||||||
|
void setModel(M model);
|
||||||
|
|
||||||
|
BindingRuleConfiguration bindingRule(String property);
|
||||||
|
|
||||||
|
// TODO allow injection of pre-created BindingRules
|
||||||
|
|
||||||
|
BindingResults bind();
|
||||||
|
|
||||||
|
// TODO return validation results
|
||||||
|
void validate();
|
||||||
|
|
||||||
|
M getModel();
|
||||||
|
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue