public static class RenderUnit.Extension<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> |
extension(MODEL model,
RenderUnit.Binder<MODEL,CONTENT> binder)
Create an Extension 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.Extension<MODEL,CONTENT> extension(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.