com.atlassian.renderer.v2
Class V2RendererFacade
java.lang.Object
  
com.atlassian.renderer.v2.V2RendererFacade
- All Implemented Interfaces: 
 - WikiStyleRenderer
 
public class V2RendererFacade
- extends Object
- implements WikiStyleRenderer
  
The facade class for the whole rendering system. This is what you call if you want to render something from
 anywhere OUTSIDE the rendering subsystem. The facade is responsible for setting up the environment before
 the renderer is invoked, if there is anything missing.
 
 Inside the rendering subsystem, you are more likely to call the V2Renderer directly (or the SubRenderer)
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
V2RendererFacade
public V2RendererFacade()
V2RendererFacade
public V2RendererFacade(RendererConfiguration rendererConfiguration,
                        LinkRenderer defaultLinkRenderer,
                        EmbeddedResourceRenderer defaultEmbeddedRenderer,
                        Renderer renderer)
setRendererConfiguration
public void setRendererConfiguration(RendererConfiguration rendererConfiguration)
 
 
setRenderer
public void setRenderer(Renderer renderer)
 
 
convertWikiToXHtml
public String convertWikiToXHtml(RenderContext context,
                                 String wiki)
- Description copied from interface: 
WikiStyleRenderer 
- Convert a given piece of wiki text into HTML markup.
- Specified by:
 convertWikiToXHtml in interface WikiStyleRenderer
 
- Parameters:
 context - the context in which to render the textwiki - the text to render
- Returns:
 - the HTML text produced by the rendering subsystem
 
 
 
convertWikiToText
public String convertWikiToText(RenderContext context,
                                String wiki)
 
 
setDefaultLinkRenderer
public void setDefaultLinkRenderer(LinkRenderer linkRenderer)
 
 
setDefaultEmbeddedRenderer
public void setDefaultEmbeddedRenderer(EmbeddedResourceRenderer embeddedRenderer)
 
 
Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.