Class EditorUnidentifiedAttachmentMarshaller
java.lang.Object
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
ConstructorDescriptionEditorUnidentifiedAttachmentMarshaller
(StorageAttachmentResourceIdentifierMarshaller storageAttachmentResourceIdentifierMarshaller, PlaceholderUrlFactory placeholderUrlFactory) -
Method Summary
Modifier and TypeMethodDescriptionmarshalPlaceholder
(XmlStreamWriterTemplate xmlStreamWriterTemplate, EmbeddedImage embeddedImage, AttachmentResourceIdentifier attachmentResourceIdentifier, ConversionContext conversionContext)
-
Constructor Details
-
EditorUnidentifiedAttachmentMarshaller
public EditorUnidentifiedAttachmentMarshaller(StorageAttachmentResourceIdentifierMarshaller storageAttachmentResourceIdentifierMarshaller, PlaceholderUrlFactory placeholderUrlFactory)
-
-
Method Details
-
marshalPlaceholder
public Streamable marshalPlaceholder(XmlStreamWriterTemplate xmlStreamWriterTemplate, EmbeddedImage embeddedImage, AttachmentResourceIdentifier attachmentResourceIdentifier, ConversionContext conversionContext) throws XhtmlException - Specified by:
marshalPlaceholder
in interfaceUnidentifiedAttachmentMarshaller
- Throws:
XhtmlException
-