Interface ContributionContentRenderer
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AbstractContributionRenderer
,WysiwygContentRenderer
public interface ContributionContentRenderer extends Serializable
The renderer of aContributionContent
. Each implementation ofContributionContent
MUST provide a renderer by the methodContributionContent.getRenderer()
.According to the context of content rendering, the content could be more or less transformed.
- Author:
- silveryocha
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description String
renderEdition()
Rendering the HTML content in order to be displayed into a context of edition.default String
renderView()
Rendering the HTML content in order to be displayed into a context of edition.String
renderView(boolean externalApplicationContext)
Rendering the HTML content in order to be displayed into a context of edition.
-
-
-
Method Detail
-
renderView
default String renderView()
Rendering the HTML content in order to be displayed into a context of edition.- Returns:
- HTML as
String
.
-
renderView
String renderView(boolean externalApplicationContext)
Rendering the HTML content in order to be displayed into a context of edition.- Parameters:
externalApplicationContext
- true if the wysiwyg content will be used outside the Silverpeas's application context.- Returns:
- HTML as
String
.
-
-