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

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

public class ViewUnidentifiedAttachmentMarshaller
extends java.lang.Object
implements UnidentifiedAttachmentMarshaller

Writes out placeholder images for an unidentified images in view mode.


Constructor Summary
ViewUnidentifiedAttachmentMarshaller(PlaceholderUrlFactory placeholderUrlFactory)
           
 
Method Summary
 Streamable marshalPlaceholder(XmlStreamWriterTemplate xmlStreamWriterTemplate, EmbeddedImage embeddedImage, AttachmentResourceIdentifier ri, ConversionContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewUnidentifiedAttachmentMarshaller

public ViewUnidentifiedAttachmentMarshaller(PlaceholderUrlFactory placeholderUrlFactory)
Method Detail

marshalPlaceholder

public Streamable marshalPlaceholder(XmlStreamWriterTemplate xmlStreamWriterTemplate,
                                     EmbeddedImage embeddedImage,
                                     AttachmentResourceIdentifier ri,
                                     ConversionContext context)
                              throws XhtmlException
Specified by:
marshalPlaceholder in interface UnidentifiedAttachmentMarshaller
Throws:
XhtmlException


Copyright © 2003-2014 Atlassian. All Rights Reserved.