public interface WebCmsComponentContentMarkerRenderer<T extends WebCmsComponentModel>
WebCmsComponentModelViewElementModelWriter will retrieve all WebCmsComponentContentMarkerRenderer
beans and find the appropriate one when rendering a particular component model.
Implementations can be ordered as the first renderer that supports a particular marker will be used to render it.ThymeleafModelBuilder| Modifier and Type | Method and Description |
|---|---|
boolean |
supports(WebCmsComponentModel componentModel,
WebCmsContentMarker marker)
Can this renderer write this component model?
|
void |
writeMarkerOutput(T component,
WebCmsContentMarker marker,
com.foreach.across.modules.web.thymeleaf.ThymeleafModelBuilder model)
Build the Thymeleaf model for the
WebCmsComponentModel. |
boolean supports(WebCmsComponentModel componentModel, WebCmsContentMarker marker)
componentModel - to rendervoid writeMarkerOutput(T component, WebCmsContentMarker marker, com.foreach.across.modules.web.thymeleaf.ThymeleafModelBuilder model)
WebCmsComponentModel.component - to rendermodel - to add the output instructions toCopyright © 2020. All rights reserved.