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 Object
implements UnidentifiedAttachmentMarshaller

Wraps a ViewUnidentifiedAttachmentMarshaller and adds extra attributes for the editor.


Constructor Summary
EditorUnidentifiedAttachmentMarshaller(ViewUnidentifiedAttachmentMarshaller viewUnidentifiedAttachmentPlaceholderWriter, StorageAttachmentResourceIdentifierMarshaller storageAttachmentResourceIdentifierMarshaller)
           
 
Method Summary
 void writePlaceholder(XMLStreamWriter xmlStreamWriter, 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(ViewUnidentifiedAttachmentMarshaller viewUnidentifiedAttachmentPlaceholderWriter,
                                              StorageAttachmentResourceIdentifierMarshaller storageAttachmentResourceIdentifierMarshaller)
Method Detail

writePlaceholder

public void writePlaceholder(XMLStreamWriter xmlStreamWriter,
                             EmbeddedImage embeddedImage,
                             AttachmentResourceIdentifier attachmentResourceIdentifier,
                             ConversionContext conversionContext)
                      throws XMLStreamException,
                             XhtmlException
Specified by:
writePlaceholder in interface UnidentifiedAttachmentMarshaller
Throws:
XMLStreamException
XhtmlException


Copyright © 2003-2013 Atlassian. All Rights Reserved.