Interface IRichTextContentParser


  • public interface IRichTextContentParser
    Interface for Markdown to HTML parser. Provides methods to get and set the prefix and name, and to parse content from Markdown to HTML.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getName()
      Gets the name.
      java.lang.String getPrefix()
      Gets the prefix.
      java.lang.String parseContent​(java.lang.String content)
      Converts Markdown content to HTML.
      void setName​(java.lang.String strName)
      Sets the name.
      void setPrefix​(java.lang.String strPrefix)
      Sets the prefix.
    • Method Detail

      • getPrefix

        java.lang.String getPrefix()
        Gets the prefix.
        Returns:
        the prefix
      • setPrefix

        void setPrefix​(java.lang.String strPrefix)
        Sets the prefix.
        Parameters:
        strPrefix - the prefix to set
      • getName

        java.lang.String getName()
        Gets the name.
        Returns:
        the name
      • setName

        void setName​(java.lang.String strName)
        Sets the name.
        Parameters:
        strName - the name to set
      • parseContent

        java.lang.String parseContent​(java.lang.String content)
                               throws RichTextParsingException
        Converts Markdown content to HTML.
        Parameters:
        content - the Markdown content to be converted
        Returns:
        the converted HTML content
        Throws:
        RichTextParsingException