Class ViewAttachmentLinkMarshallingStrategy
- java.lang.Object
-
- 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
Constructors Constructor Description ViewAttachmentLinkMarshallingStrategy(AttachmentResourceIdentifierResolver attachmentResourceIdentifierResolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
marshal(Link attachmentLink, XMLStreamWriter xmlStreamWriter, ConversionContext context)
-
-
-
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 interfaceStaxStreamMarshaller<Link>
- Throws:
XMLStreamException
-
-