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

java.lang.Object
  extended by 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
DefaultAttachedImageResourceMarshaller(AttachmentResourceIdentifierResolver attachmentResourceIdentifierResolver, PermissionManager permissionManager, ThumbnailManager thumbnailManager, HrefEvaluator hrefEvaluator, StaxStreamMarshaller<Attachment> attachmentStaxStreamMarshaller, EmbeddedImageTagWriter embeddedImageWriter, UnidentifiedAttachmentMarshaller unidentifiedAttachmentPlaceholderWriter)
           
 
Method Summary
 void marshal(XMLStreamWriter xmlStreamWriter, Writer underlyingWriter, 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

DefaultAttachedImageResourceMarshaller

public DefaultAttachedImageResourceMarshaller(AttachmentResourceIdentifierResolver attachmentResourceIdentifierResolver,
                                              PermissionManager permissionManager,
                                              ThumbnailManager thumbnailManager,
                                              HrefEvaluator hrefEvaluator,
                                              StaxStreamMarshaller<Attachment> attachmentStaxStreamMarshaller,
                                              EmbeddedImageTagWriter embeddedImageWriter,
                                              UnidentifiedAttachmentMarshaller unidentifiedAttachmentPlaceholderWriter)
Method Detail

marshal

public void marshal(XMLStreamWriter xmlStreamWriter,
                    Writer underlyingWriter,
                    EmbeddedImage embeddedImage,
                    AttachmentResourceIdentifier attachmentResourceIdentifier,
                    ConversionContext conversionContext)
             throws XMLStreamException,
                    XhtmlException
Specified by:
marshal in interface AttachedImageMarshaller
Throws:
XMLStreamException
XhtmlException


Copyright © 2003-2012 Atlassian. All Rights Reserved.