Class ViewBlogPostLinkMarshaller
java.lang.Object
com.atlassian.confluence.content.render.xhtml.view.link.ViewBlogPostLinkMarshaller
- All Implemented Interfaces:
Marshaller<Link>
-
Constructor Summary
ConstructorDescriptionViewBlogPostLinkMarshaller
(ResourceIdentifierResolver<BlogPostResourceIdentifier, BlogPost> blogPostResourceIdentifierResolver, XmlStreamWriterTemplate xmlStreamWriterTemplate, Marshaller<Link> unresolvedLinkMarshaller, CommonLinkAttributesWriter commonLinkAttributesWriter, Marshaller<Link> linkBodyMarshaller, HrefEvaluator hrefEvaluator, @Nullable StaxStreamMarshaller<Link> linkStaxStreamMarshaller) -
Method Summary
Modifier and TypeMethodDescriptionmarshal
(Link link, ConversionContext conversionContext) Marshals an object to XML.
-
Constructor Details
-
ViewBlogPostLinkMarshaller
public ViewBlogPostLinkMarshaller(ResourceIdentifierResolver<BlogPostResourceIdentifier, BlogPost> blogPostResourceIdentifierResolver, XmlStreamWriterTemplate xmlStreamWriterTemplate, Marshaller<Link> unresolvedLinkMarshaller, CommonLinkAttributesWriter commonLinkAttributesWriter, Marshaller<Link> linkBodyMarshaller, HrefEvaluator hrefEvaluator, @Nullable StaxStreamMarshaller<Link> linkStaxStreamMarshaller)
-
-
Method Details
-
marshal
Description copied from interface:Marshaller
Marshals an object to XML.- Specified by:
marshal
in interfaceMarshaller<Link>
- Parameters:
link
- object to marshalconversionContext
- the conversion context- Returns:
- the XML representation of the object
- Throws:
XhtmlException
- if an error occurs during marshalling
-