com.atlassian.renderer.embedded
Class EmbeddedImageRenderer
java.lang.Object
com.atlassian.renderer.embedded.EmbeddedImageRenderer
- All Implemented Interfaces:
- EmbeddedResourceRenderer
public class EmbeddedImageRenderer
- extends Object
- implements EmbeddedResourceRenderer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmbeddedImageRenderer
public EmbeddedImageRenderer(RendererAttachmentManager attachmentManager)
getAttachmentManager
public RendererAttachmentManager getAttachmentManager()
setAttachmentManager
public void setAttachmentManager(RendererAttachmentManager attachmentManager)
renderResource
public String renderResource(EmbeddedResource resource,
RenderContext context)
- Description copied from interface:
EmbeddedResourceRenderer
- Render the embedded resource to a string.
- Specified by:
renderResource
in interface EmbeddedResourceRenderer
- Parameters:
resource
- to be renderedcontext
- of render
getAttachment
protected RendererAttachment getAttachment(RenderContext context,
EmbeddedResource resource)
getThumbnail
protected RendererAttachment getThumbnail(RendererAttachment attachment,
RenderContext context,
EmbeddedImage embeddedImage)
writeImage
protected String writeImage(String imageTag,
Map<Object,Object> imageParams,
RenderContext context)
Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.