Class WysiwygContentRenderer
- java.lang.Object
-
- org.silverpeas.core.contribution.content.renderer.AbstractContributionRenderer<WysiwygContent>
-
- org.silverpeas.core.contribution.content.wysiwyg.service.WysiwygContentRenderer
-
- All Implemented Interfaces:
Serializable
,ContributionContentRenderer
@Named public class WysiwygContentRenderer extends AbstractContributionRenderer<WysiwygContent>
This renderer is instantiated as explained intoContributionContentRendererProvider.ofContent(ContributionContent)
documentation.- Author:
- silveryocha
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WysiwygContentRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
renderEdition()
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.-
Methods inherited from class org.silverpeas.core.contribution.content.renderer.AbstractContributionRenderer
getContent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.silverpeas.core.contribution.content.renderer.ContributionContentRenderer
renderView
-
-
-
-
Method Detail
-
renderView
public String renderView(boolean externalApplicationContext)
Description copied from interface:ContributionContentRenderer
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
.
-
renderEdition
public String renderEdition()
Description copied from interface:ContributionContentRenderer
Rendering the HTML content in order to be displayed into a context of edition.- Returns:
- HTML as
String
.
-
-