Class ViewPageTemplateLinkMarshaller
- java.lang.Object
-
- com.atlassian.confluence.content.render.xhtml.view.link.ViewPageTemplateLinkMarshaller
-
- All Implemented Interfaces:
Marshaller<Link>
public class ViewPageTemplateLinkMarshaller extends Object implements Marshaller<Link>
- Since:
- 7.5.0
-
-
Constructor Summary
Constructors Constructor Description ViewPageTemplateLinkMarshaller(ResourceIdentifierResolver<PageTemplateResourceIdentifier,PageTemplate> resourceIdentifierResolver, XmlStreamWriterTemplate xmlStreamWriterTemplate, Marshaller<Link> linkBodyMarshaller, CommonLinkAttributesWriter commonLinkAttributesWriter, HrefEvaluator hrefEvaluator, @Nullable StaxStreamMarshaller<Link> linkStaxStreamMarshaller)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Streamable
marshal(Link attachmentLink, ConversionContext conversionContext)
Marshals an object to XML.
-
-
-
Constructor Detail
-
ViewPageTemplateLinkMarshaller
public ViewPageTemplateLinkMarshaller(ResourceIdentifierResolver<PageTemplateResourceIdentifier,PageTemplate> resourceIdentifierResolver, XmlStreamWriterTemplate xmlStreamWriterTemplate, Marshaller<Link> linkBodyMarshaller, CommonLinkAttributesWriter commonLinkAttributesWriter, HrefEvaluator hrefEvaluator, @Nullable StaxStreamMarshaller<Link> linkStaxStreamMarshaller)
-
-
Method Detail
-
marshal
public Streamable marshal(Link attachmentLink, ConversionContext conversionContext) throws XhtmlException
Description copied from interface:Marshaller
Marshals an object to XML.- Specified by:
marshal
in interfaceMarshaller<Link>
- Parameters:
attachmentLink
- object to marshalconversionContext
- the conversion context- Returns:
- the XML representation of the object
- Throws:
XhtmlException
- if an error occurs during marshalling
-
-