public static class RenderUnit.DelegateBinder<MODEL,CONTENT>
extends java.lang.Object
RenderUnit.Binder
. The binder will bind the model to a
matching content type defined.Modifier and Type | Method and Description |
---|---|
static <MODEL,CONTENT> |
createDelegateBinder(MODEL model,
RenderUnit.Binder<MODEL,CONTENT> binder)
Create a binder with a Model and
RenderUnit.Binder which will bind the given Model to the
content type which will be provided by the RenderUnit. |
public static <MODEL,CONTENT> RenderUnit.DelegateBinder<MODEL,CONTENT> createDelegateBinder(MODEL model, RenderUnit.Binder<MODEL,CONTENT> binder)
RenderUnit.Binder
which will bind the given Model to the
content type which will be provided by the RenderUnit.