com.atlassian.renderer.v2.components.phrase
Class PhraseRendererComponent

java.lang.Object
  extended by com.atlassian.renderer.v2.components.phrase.PhraseRendererComponent
All Implemented Interfaces:
RendererComponent

public class PhraseRendererComponent
extends Object
implements RendererComponent


Constructor Summary
PhraseRendererComponent(String delimiter, String tagName)
           
PhraseRendererComponent(String startDelimiter, String endDelimiter, String tagName)
           
PhraseRendererComponent(String startDelimiter, String endDelimiter, String startTag, String endTag)
           
 
Method Summary
static PhraseRendererComponent getDefaultRenderer(String name)
           
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PhraseRendererComponent

public PhraseRendererComponent(String delimiter,
                               String tagName)

PhraseRendererComponent

public PhraseRendererComponent(String startDelimiter,
                               String endDelimiter,
                               String tagName)

PhraseRendererComponent

public PhraseRendererComponent(String startDelimiter,
                               String endDelimiter,
                               String startTag,
                               String endTag)
Method Detail

getDefaultRenderer

public static PhraseRendererComponent getDefaultRenderer(String name)

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

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


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.