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
ConstructorsConstructorDescriptionViewAttachmentLinkMarshallingStrategy(AttachmentResourceIdentifierResolver attachmentResourceIdentifierResolver)  - 
Method Summary
Modifier and TypeMethodDescriptionvoidmarshal(Link attachmentLink, XMLStreamWriter xmlStreamWriter, ConversionContext context)  
- 
Constructor Details
- 
ViewAttachmentLinkMarshallingStrategy
public ViewAttachmentLinkMarshallingStrategy(AttachmentResourceIdentifierResolver attachmentResourceIdentifierResolver)  
 - 
 - 
Method Details
- 
marshal
public void marshal(Link attachmentLink, XMLStreamWriter xmlStreamWriter, ConversionContext context) throws XMLStreamException - Specified by:
 marshalin interfaceStaxStreamMarshaller<Link>- Throws:
 XMLStreamException
 
 -