public class ViewSpaceLinkMarshaller extends Object implements Marshaller<Link>
Constructor and Description |
---|
ViewSpaceLinkMarshaller(SpaceResourceIdentifierResolver spaceResourceIdentifierResolver,
PermissionManager permissionManager,
XmlStreamWriterTemplate xmlStreamWriterTemplate,
CommonLinkAttributesWriter commonLinkAttributesWriter,
Marshaller<Link> linkBodyMarshaller,
Marshaller<UnresolvedLink> unresolvedLinkMarshaller,
HrefEvaluator hrefEvaluator,
@Nullable StaxStreamMarshaller<Link> linkStaxStreamMarshaller,
Marshaller<Link> notPermittedLinkMarshaller,
I18NBeanFactory i18NBeanFactory) |
Modifier and Type | Method and Description |
---|---|
Streamable |
marshal(Link link,
ConversionContext conversionContext)
Marshals the given link to a String.
|
public ViewSpaceLinkMarshaller(SpaceResourceIdentifierResolver spaceResourceIdentifierResolver, PermissionManager permissionManager, XmlStreamWriterTemplate xmlStreamWriterTemplate, CommonLinkAttributesWriter commonLinkAttributesWriter, Marshaller<Link> linkBodyMarshaller, Marshaller<UnresolvedLink> unresolvedLinkMarshaller, HrefEvaluator hrefEvaluator, @Nullable StaxStreamMarshaller<Link> linkStaxStreamMarshaller, Marshaller<Link> notPermittedLinkMarshaller, I18NBeanFactory i18NBeanFactory)
public Streamable marshal(Link link, ConversionContext conversionContext) throws XhtmlException
marshal
in interface Marshaller<Link>
link
- The link to marshal to a StringconversionContext
- the conversion contextXhtmlException
Copyright © 2003–2020 Atlassian. All rights reserved.