com.atlassian.jira.issue.fields.renderer.wiki.embedded
Class JiraEmbeddedImageRenderer

java.lang.Object
  extended by com.atlassian.renderer.embedded.EmbeddedImageRenderer
      extended by com.atlassian.jira.issue.fields.renderer.wiki.embedded.JiraEmbeddedImageRenderer
All Implemented Interfaces:
com.atlassian.renderer.embedded.EmbeddedResourceRenderer

public class JiraEmbeddedImageRenderer
extends com.atlassian.renderer.embedded.EmbeddedImageRenderer


Constructor Summary
JiraEmbeddedImageRenderer(com.atlassian.renderer.attachments.RendererAttachmentManager attachmentManager)
           
 
Method Summary
 String renderResource(com.atlassian.renderer.embedded.EmbeddedResource resource, com.atlassian.renderer.RenderContext context)
           
protected  String writeImage(String imageTag, boolean centered)
           
 
Methods inherited from class com.atlassian.renderer.embedded.EmbeddedImageRenderer
getAttachment, getAttachmentManager, getThumbnail, setAttachmentManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JiraEmbeddedImageRenderer

public JiraEmbeddedImageRenderer(com.atlassian.renderer.attachments.RendererAttachmentManager attachmentManager)
Method Detail

renderResource

public String renderResource(com.atlassian.renderer.embedded.EmbeddedResource resource,
                             com.atlassian.renderer.RenderContext context)
Specified by:
renderResource in interface com.atlassian.renderer.embedded.EmbeddedResourceRenderer
Overrides:
renderResource in class com.atlassian.renderer.embedded.EmbeddedImageRenderer

writeImage

protected String writeImage(String imageTag,
                            boolean centered)
Overrides:
writeImage in class com.atlassian.renderer.embedded.EmbeddedImageRenderer


Copyright © 2002-2012 Atlassian. All Rights Reserved.