com.atlassian.confluence.content.render.xhtml.view.embed
Class LinkWrappingEmbeddedImageTagWriter

java.lang.Object
  extended by com.atlassian.confluence.content.render.xhtml.view.embed.LinkWrappingEmbeddedImageTagWriter
All Implemented Interfaces:
EmbeddedImageTagWriter

public class LinkWrappingEmbeddedImageTagWriter
extends Object
implements EmbeddedImageTagWriter

Wraps embedded image in a link for the sake of fancybox.


Constructor Summary
LinkWrappingEmbeddedImageTagWriter(EmbeddedImageTagWriter delegatedEmbeddedImageWriter)
           
 
Method Summary
 void writeEmbeddedImageTag(XMLStreamWriter xmlStreamWriter, Writer underlyingWriter, Attachment attachment, String imageSource, String thumbnailSource, EmbeddedImage embeddedImage, ConversionContext conversionContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkWrappingEmbeddedImageTagWriter

public LinkWrappingEmbeddedImageTagWriter(EmbeddedImageTagWriter delegatedEmbeddedImageWriter)
Method Detail

writeEmbeddedImageTag

public void writeEmbeddedImageTag(XMLStreamWriter xmlStreamWriter,
                                  Writer underlyingWriter,
                                  Attachment attachment,
                                  String imageSource,
                                  String thumbnailSource,
                                  EmbeddedImage embeddedImage,
                                  ConversionContext conversionContext)
                           throws XhtmlException,
                                  XMLStreamException
Specified by:
writeEmbeddedImageTag in interface EmbeddedImageTagWriter
Throws:
XhtmlException
XMLStreamException


Copyright © 2003-2011 Atlassian. All Rights Reserved.