com.atlassian.confluence.renderer.embedded
Class EmbeddedImageRenderer

java.lang.Object
  extended bycom.atlassian.confluence.renderer.embedded.EmbeddedImageRenderer
All Implemented Interfaces:
EmbeddedResourceRenderer, ImagePathHelper

public class EmbeddedImageRenderer
extends Object
implements EmbeddedResourceRenderer, ImagePathHelper


Constructor Summary
EmbeddedImageRenderer()
           
 
Method Summary
 String getImagePath(Attachment attachment, boolean isThumbnail)
          Return the path used to access the specified image.
 String renderResource(EmbeddedResource resource, RenderContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmbeddedImageRenderer

public EmbeddedImageRenderer()
Method Detail

renderResource

public String renderResource(EmbeddedResource resource,
                             RenderContext context)
Specified by:
renderResource in interface EmbeddedResourceRenderer

getImagePath

public String getImagePath(Attachment attachment,
                           boolean isThumbnail)
Description copied from interface: ImagePathHelper
Return the path used to access the specified image. Note: it is expected that the attachment references an image.

Specified by:
getImagePath in interface ImagePathHelper
Parameters:
attachment -
isThumbnail -
Returns:


Confluence is developed by Atlassian.