Class DefaultAttachedImageResourceMarshaller
- java.lang.Object
-
- com.atlassian.confluence.content.render.xhtml.view.embed.DefaultAttachedImageResourceMarshaller
-
- All Implemented Interfaces:
AttachedImageMarshaller
public class DefaultAttachedImageResourceMarshaller extends Object implements AttachedImageMarshaller
Class to Marshall an image attachment.
-
-
Constructor Summary
Constructors Constructor Description DefaultAttachedImageResourceMarshaller(AttachmentResourceIdentifierResolver attachmentResourceIdentifierResolver, PermissionManager permissionManager, ThumbnailManager thumbnailManager, HrefEvaluator hrefEvaluator, StaxStreamMarshaller<Attachment> attachmentStaxStreamMarshaller, EmbeddedImageTagWriter embeddedImageWriter, UnidentifiedAttachmentMarshaller unidentifiedAttachmentPlaceholderWriter, AttachmentResourceIdentifierOnlyUriResolver attachmentResourceIdentifierOnlyUriResolver, ImageDetailsManager imageDetailsManager, DarkFeaturesManager darkFeaturesManager, AttachedImageRenderHelper attachedImageRenderHelper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Streamable
marshal(XmlStreamWriterTemplate xmlStreamWriterTemplate, EmbeddedImage embeddedImage, AttachmentResourceIdentifier attachmentResourceIdentifier, ConversionContext conversionContext)
-
-
-
Constructor Detail
-
DefaultAttachedImageResourceMarshaller
public DefaultAttachedImageResourceMarshaller(AttachmentResourceIdentifierResolver attachmentResourceIdentifierResolver, PermissionManager permissionManager, ThumbnailManager thumbnailManager, HrefEvaluator hrefEvaluator, StaxStreamMarshaller<Attachment> attachmentStaxStreamMarshaller, EmbeddedImageTagWriter embeddedImageWriter, UnidentifiedAttachmentMarshaller unidentifiedAttachmentPlaceholderWriter, AttachmentResourceIdentifierOnlyUriResolver attachmentResourceIdentifierOnlyUriResolver, ImageDetailsManager imageDetailsManager, DarkFeaturesManager darkFeaturesManager, AttachedImageRenderHelper attachedImageRenderHelper)
-
-
Method Detail
-
marshal
public Streamable marshal(XmlStreamWriterTemplate xmlStreamWriterTemplate, EmbeddedImage embeddedImage, AttachmentResourceIdentifier attachmentResourceIdentifier, ConversionContext conversionContext) throws XhtmlException
- Specified by:
marshal
in interfaceAttachedImageMarshaller
- Throws:
XhtmlException
-
-