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

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

public class SimpleEmbeddedImageTagWriter
extends Object
implements EmbeddedImageTagWriter

Writes out the tag for an embedded image. Only uses the thumbnailSource, the imageSource is ignored.


Constructor Summary
SimpleEmbeddedImageTagWriter(StaxStreamMarshaller<Attachment> attachmentStaxStreamMarshaller)
           
 
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

SimpleEmbeddedImageTagWriter

public SimpleEmbeddedImageTagWriter(StaxStreamMarshaller<Attachment> attachmentStaxStreamMarshaller)
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-2012 Atlassian. All Rights Reserved.