com.atlassian.confluence.content.render.xhtml.view.link
Class ViewAttachmentLinkMarshallingStrategy

java.lang.Object
  extended by com.atlassian.confluence.content.render.xhtml.view.link.ViewAttachmentLinkMarshallingStrategy
All Implemented Interfaces:
StaxStreamMarshaller<Link>

public class ViewAttachmentLinkMarshallingStrategy
extends Object
implements StaxStreamMarshaller<Link>

Encapsulates all the extra marshalling concerns of a link to attachment for the view context.


Constructor Summary
ViewAttachmentLinkMarshallingStrategy(AttachmentResourceIdentifierResolver attachmentResourceIdentifierResolver)
           
 
Method Summary
 void marshal(Link attachmentLink, XMLStreamWriter xmlStreamWriter, ConversionContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewAttachmentLinkMarshallingStrategy

public ViewAttachmentLinkMarshallingStrategy(AttachmentResourceIdentifierResolver attachmentResourceIdentifierResolver)
Method Detail

marshal

public void marshal(Link attachmentLink,
                    XMLStreamWriter xmlStreamWriter,
                    ConversionContext context)
             throws XMLStreamException
Specified by:
marshal in interface StaxStreamMarshaller<Link>
Throws:
XMLStreamException


Copyright © 2003–2015 Atlassian. All rights reserved.