public interface WebDataBinderFactory
WebDataBinder
instance for a named target object.Modifier and Type | Method and Description |
---|---|
WebDataBinder |
createBinder(NativeWebRequest webRequest,
Object target,
String objectName)
Create a
WebDataBinder for the given object. |
WebDataBinder createBinder(NativeWebRequest webRequest, Object target, String objectName) throws 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 nullException
- raised if the creation and initialization of the data binder fails