public class EmoticonRendererComponent extends AbstractRegexRendererComponent implements TextConverter
| Modifier and Type | Field and Description |
|---|---|
static String |
MAX_EMOTICONS_TO_RENDER_SYSTEM_PROPERTY_KEY |
| Constructor and Description |
|---|
EmoticonRendererComponent(IconManager iconManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendSubstitution(StringBuffer buffer,
RenderContext context,
Matcher matcher)
Implement this method to perform your actual regex substitution.
|
String |
convertToWikiMarkup(String text) |
String |
render(String wiki,
RenderContext context)
Render this piece of wiki text.
|
boolean |
shouldRender(RenderMode renderMode)
Whether or not this render component is required given the current render mode.
|
regexRenderpublic static final String MAX_EMOTICONS_TO_RENDER_SYSTEM_PROPERTY_KEY
public EmoticonRendererComponent(IconManager iconManager)
public boolean shouldRender(RenderMode renderMode)
RendererComponentshouldRender in interface RendererComponentshouldRender in class AbstractRegexRendererComponentpublic String render(String wiki, RenderContext context)
RendererComponentrender in interface RendererComponentrender in class AbstractRegexRendererComponentpublic String convertToWikiMarkup(String text)
convertToWikiMarkup in interface TextConverterpublic void appendSubstitution(StringBuffer buffer, RenderContext context, Matcher matcher)
AbstractRegexRendererComponentappendSubstitution in class AbstractRegexRendererComponentCopyright © 2019 Atlassian. All rights reserved.