Interface IRichTextContentParser
-
public interface IRichTextContentParserInterface 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.StringgetName()Gets the name.java.lang.StringgetPrefix()Gets the prefix.java.lang.StringparseContent(java.lang.String content)Converts Markdown content to HTML.voidsetName(java.lang.String strName)Sets the name.voidsetPrefix(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 RichTextParsingExceptionConverts Markdown content to HTML.- Parameters:
content- the Markdown content to be converted- Returns:
- the converted HTML content
- Throws:
RichTextParsingException
-
-