com.atlassian.confluence.content.render.xhtml.editor.embed
Class EditorUnidentifiedAttachmentMarshaller

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

public class EditorUnidentifiedAttachmentMarshaller
extends java.lang.Object
implements UnidentifiedAttachmentMarshaller

Wraps a ViewUnidentifiedAttachmentMarshaller and adds extra attributes for the editor.


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

Constructor Detail

EditorUnidentifiedAttachmentMarshaller

public EditorUnidentifiedAttachmentMarshaller(StorageAttachmentResourceIdentifierMarshaller storageAttachmentResourceIdentifierMarshaller,
                                              PlaceholderUrlFactory placeholderUrlFactory)
Method Detail

marshalPlaceholder

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


Copyright © 2003-2014 Atlassian. All Rights Reserved.