Class JHTMLRenderer

java.lang.Object
com.jalios.jcms.wysiwyg.JHTMLRenderer
All Implemented Interfaces:
JcmsConstants, JaliosConstants

public class JHTMLRenderer extends Object implements JcmsConstants
This class contains a set of utility static methods to process JHTML text.
Since:
jcms-10.7.0
  • Constructor Details

    • JHTMLRenderer

      public JHTMLRenderer()
  • Method Details

    • getMentionHtml

      public static String getMentionHtml(Member mbr, Locale locale, WysiwygRenderingHints hints)
      Render the specified member mention with the same rules as a <jalios:mention> JHTML tag.
      Parameters:
      mbr - the mentioned member
      locale - the Locale to use for I18N text
      hints - the hints to use
      Returns:
      the rendered HTML for the mention, never returns null