com.atlassian.renderer.v2
Interface MutableRenderer

All Superinterfaces:
Renderer
All Known Implementing Classes:
V2Renderer

public interface MutableRenderer
extends Renderer

This sub interface was introduced to fix JRA-13626. The ComponentManager in JIRA requires that we register the V2Renderer instance with an interface. The chosen interface was previously Renderer, but doing this caused ClassCastExceptions to be thrown in some cases when trying to cast the component back to a V2Renderer object. Introducing this interface eliminates the need to cast the component back to a concrete class.

See Also:
V2Renderer

Method Summary
 void setComponents(List components)
           
 
Methods inherited from interface com.atlassian.renderer.v2.Renderer
getRendererType, render, renderAsText
 

Method Detail

setComponents

void setComponents(List components)


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.