public interface WebDataBinderFactory
WebDataBinder
instance for a named target object.Modifier and Type | Method and Description |
---|---|
WebDataBinder |
createBinder(NativeWebRequest webRequest,
java.lang.Object target,
java.lang.String objectName)
Create a
WebDataBinder for the given object. |
WebDataBinder createBinder(NativeWebRequest webRequest, @Nullable java.lang.Object target, java.lang.String objectName) throws java.lang.Exception
WebDataBinder
for the given object.webRequest
- the current requesttarget
- the object to create a data binder for,
or null
if creating a binder for a simple typeobjectName
- the name of the target objectWebDataBinder
instance, never nulljava.lang.Exception
- raised if the creation and initialization of the data binder fails