com.atlassian.renderer.v2.components.phrase
Class EmoticonRendererComponent
java.lang.Object
com.atlassian.renderer.v2.components.AbstractRendererComponent
com.atlassian.renderer.v2.components.AbstractRegexRendererComponent
com.atlassian.renderer.v2.components.phrase.EmoticonRendererComponent
- All Implemented Interfaces:
- RendererComponent, TextConverter
public class EmoticonRendererComponent
- extends AbstractRegexRendererComponent
- implements TextConverter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmoticonRendererComponent
public EmoticonRendererComponent(IconManager iconManager)
shouldRender
public boolean shouldRender(RenderMode renderMode)
- Description copied from interface:
RendererComponent
- Whether or not this render component is required given the current render mode.
- Specified by:
shouldRender
in interface RendererComponent
- Specified by:
shouldRender
in class AbstractRegexRendererComponent
render
public String render(String wiki,
RenderContext context)
- Description copied from interface:
RendererComponent
- Render this piece of wiki text.
- Specified by:
render
in interface RendererComponent
- Specified by:
render
in class AbstractRegexRendererComponent
convertToWikiMarkup
public String convertToWikiMarkup(String text)
- Specified by:
convertToWikiMarkup
in interface TextConverter
appendSubstitution
public void appendSubstitution(StringBuffer buffer,
RenderContext context,
Matcher matcher)
- Description copied from class:
AbstractRegexRendererComponent
- Implement this method to perform your actual regex substitution.
- Specified by:
appendSubstitution
in class AbstractRegexRendererComponent
Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.