public class ViewSpaceLinkMarshaller extends Object implements Marshaller<Link>
Constructor and Description |
---|
ViewSpaceLinkMarshaller(SpaceResourceIdentifierResolver spaceResourceIdentifierResolver,
PermissionManager permissionManager,
XmlStreamWriterTemplate xmlStreamWriterTemplate,
Marshaller<Link> linkBodyMarshaller,
Marshaller<UnresolvedLink> unresolvedLinkMarshaller,
HrefEvaluator hrefEvaluator,
StaxStreamMarshaller<Link> linkStaxStreamMarshaller,
Marshaller<Link> notPermittedLinkMarshaller,
ModelToRenderedClassMapper mapper) |
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, Marshaller<Link> linkBodyMarshaller, Marshaller<UnresolvedLink> unresolvedLinkMarshaller, HrefEvaluator hrefEvaluator, StaxStreamMarshaller<Link> linkStaxStreamMarshaller, Marshaller<Link> notPermittedLinkMarshaller, ModelToRenderedClassMapper mapper)
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–2016 Atlassian. All rights reserved.