com.atlassian.renderer.v2.components
Class LinkRendererComponent

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

public class LinkRendererComponent
extends Object
implements RendererComponent


Field Summary
static char START_LINK_CHAR
           
 
Constructor Summary
LinkRendererComponent(LinkResolver linkResolver)
           
 
Method Summary
 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
 

Field Detail

START_LINK_CHAR

public static final char START_LINK_CHAR
See Also:
Constant Field Values
Constructor Detail

LinkRendererComponent

public LinkRendererComponent(LinkResolver linkResolver)
Method Detail

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

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


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.