@ParametersAreNonnullByDefault public class ViewAttachmentLinkMarshaller extends Object implements Marshaller<Link>
Constructor and Description |
---|
ViewAttachmentLinkMarshaller(XmlStreamWriterTemplate xmlStreamWriterTemplate,
PageManager pageManager,
ContentEntityManager contentEntityManager,
AttachmentManager attachmentManager,
PermissionManager permissionManager,
Marshaller<UnresolvedLink> unresolvedLinkMarshaller,
Marshaller<Link> linkBodyMarshaller,
StaxStreamMarshaller<Link> commonLinkAttributeStaxStreamMarshaller,
DraftManager draftManager,
HrefEvaluator hrefEvaluator,
Marshaller<Link> notPermittedLinkMarshaller,
ResourceIdentifierContextUtility riUtils,
ModelToRenderedClassMapper linkClassRenderer) |
Modifier and Type | Method and Description |
---|---|
Streamable |
marshal(Link attachmentLink,
ConversionContext conversionContext)
Marshals an object to XML.
|
public ViewAttachmentLinkMarshaller(XmlStreamWriterTemplate xmlStreamWriterTemplate, PageManager pageManager, ContentEntityManager contentEntityManager, AttachmentManager attachmentManager, PermissionManager permissionManager, Marshaller<UnresolvedLink> unresolvedLinkMarshaller, Marshaller<Link> linkBodyMarshaller, @Nullable StaxStreamMarshaller<Link> commonLinkAttributeStaxStreamMarshaller, DraftManager draftManager, HrefEvaluator hrefEvaluator, Marshaller<Link> notPermittedLinkMarshaller, ResourceIdentifierContextUtility riUtils, ModelToRenderedClassMapper linkClassRenderer)
public Streamable marshal(Link attachmentLink, ConversionContext conversionContext) throws XhtmlException
Marshaller
marshal
in interface Marshaller<Link>
attachmentLink
- object to marshalconversionContext
- the conversion contextXhtmlException
- if an error occurs during marshallingCopyright © 2003–2016 Atlassian. All rights reserved.