public class

ViewIdAndTypeLinkMarshaller

extends Object
implements Marshaller<T>
java.lang.Object
   ↳ com.atlassian.confluence.content.render.xhtml.view.link.ViewIdAndTypeLinkMarshaller

Summary

Fields
protected final HrefEvaluator hrefEvaluator
protected final Marshaller<Link> linkBodyMarshaller
protected final StaxStreamMarshaller<Link> linkStaxStreamMarshaller
protected final Marshaller<Link> notPermittedLinkMarshaller
protected final PermissionManager permissionManager
protected final IdAndTypeResourceIdentifierResolver resourceIdentifierResolver
protected final Marshaller<UnresolvedLink> unresolvedLinkMarshaller
protected final XmlStreamWriterTemplate xmlStreamWriterTemplate
Public Constructors
ViewIdAndTypeLinkMarshaller(IdAndTypeResourceIdentifierResolver resourceIdentifierResolver, PermissionManager permissionManager, XmlStreamWriterTemplate xmlStreamWriterTemplate, Marshaller<UnresolvedLink> unresolvedLinkMarshaller, Marshaller<Link> linkBodyMarshaller, Marshaller<Link> notPermittedLinkMarshaller, HrefEvaluator hrefEvaluator, StaxStreamMarshaller<Link> linkStaxStreamMarshaller, ModelToRenderedClassMapper mapper)
Public Methods
String marshal(Link link, ConversionContext conversionContext)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.confluence.content.render.xhtml.Marshaller

Fields

protected final HrefEvaluator hrefEvaluator

protected final Marshaller<Link> linkBodyMarshaller

protected final StaxStreamMarshaller<Link> linkStaxStreamMarshaller

protected final Marshaller<Link> notPermittedLinkMarshaller

protected final PermissionManager permissionManager

protected final IdAndTypeResourceIdentifierResolver resourceIdentifierResolver

protected final Marshaller<UnresolvedLink> unresolvedLinkMarshaller

protected final XmlStreamWriterTemplate xmlStreamWriterTemplate

Public Constructors

public ViewIdAndTypeLinkMarshaller (IdAndTypeResourceIdentifierResolver resourceIdentifierResolver, PermissionManager permissionManager, XmlStreamWriterTemplate xmlStreamWriterTemplate, Marshaller<UnresolvedLink> unresolvedLinkMarshaller, Marshaller<Link> linkBodyMarshaller, Marshaller<Link> notPermittedLinkMarshaller, HrefEvaluator hrefEvaluator, StaxStreamMarshaller<Link> linkStaxStreamMarshaller, ModelToRenderedClassMapper mapper)

Public Methods

public String marshal (Link link, ConversionContext conversionContext)