Class ViewEmbeddedImageTitleWriter
- java.lang.Object
-
- com.atlassian.confluence.content.render.xhtml.view.embed.ViewEmbeddedImageTitleWriter
-
- All Implemented Interfaces:
EmbeddedImageTagWriter
public class ViewEmbeddedImageTitleWriter extends Object implements EmbeddedImageTagWriter
Wraps another EmbeddedImageTagWriter and ensures that a title attribute is written if required.
-
-
Constructor Summary
Constructors Constructor Description ViewEmbeddedImageTitleWriter(EmbeddedImageTagWriter simpleEmbeddedImageTagWriter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
writeEmbeddedImageTag(XMLStreamWriter xmlStreamWriter, Writer underlyingWriter, Attachment attachment, String imageSource, String thumbnailSource, EmbeddedImage embeddedImage, ConversionContext conversionContext)
-
-
-
Constructor Detail
-
ViewEmbeddedImageTitleWriter
public ViewEmbeddedImageTitleWriter(EmbeddedImageTagWriter simpleEmbeddedImageTagWriter)
-
-
Method Detail
-
writeEmbeddedImageTag
public void writeEmbeddedImageTag(XMLStreamWriter xmlStreamWriter, Writer underlyingWriter, Attachment attachment, String imageSource, String thumbnailSource, EmbeddedImage embeddedImage, ConversionContext conversionContext) throws IOException, XMLStreamException
- Specified by:
writeEmbeddedImageTag
in interfaceEmbeddedImageTagWriter
- Throws:
IOException
XMLStreamException
-
-