Package org.bsc.markdown
Class MarkdownProcessor.Shared
- java.lang.Object
-
- org.bsc.markdown.MarkdownProcessor.Shared
-
- All Implemented Interfaces:
MarkdownProcessor
- Enclosing interface:
- MarkdownProcessor
public static class MarkdownProcessor.Shared extends Object implements MarkdownProcessor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.bsc.markdown.MarkdownProcessor
MarkdownProcessor.Shared
-
-
Field Summary
-
Fields inherited from interface org.bsc.markdown.MarkdownProcessor
shared
-
-
Constructor Summary
Constructors Constructor Description Shared()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
markdown processor identifier used to choose which procerror use at run-timeMarkdownProcessor
init()
boolean
isSkipHtml()
String
processMarkdown(String content)
String
processMarkdown(MarkdownParserContext context, String content)
translate a markdown source in the confluence wiki counterpartvoid
setName(String value)
void
setSkipHtml(boolean skipHtml)
set skip html tag processing
-
-
-
Method Detail
-
isSkipHtml
public boolean isSkipHtml()
-
setSkipHtml
public void setSkipHtml(boolean skipHtml)
set skip html tag processing
-
getName
public String getName()
Description copied from interface:MarkdownProcessor
markdown processor identifier used to choose which procerror use at run-time- Specified by:
getName
in interfaceMarkdownProcessor
- Returns:
- identifier
-
processMarkdown
public String processMarkdown(MarkdownParserContext context, String content) throws IOException
Description copied from interface:MarkdownProcessor
translate a markdown source in the confluence wiki counterpart- Specified by:
processMarkdown
in interfaceMarkdownProcessor
- Parameters:
context
- parse contextcontent
- content to parse- Returns:
- translated confluence wiki format
- Throws:
IOException
-
processMarkdown
public String processMarkdown(String content) throws IOException
- Throws:
IOException
-
setName
public void setName(String value)
-
init
public MarkdownProcessor init()
-
-