Class ViewBlogPostLinkMarshaller
- java.lang.Object
-
- com.atlassian.confluence.content.render.xhtml.view.link.ViewBlogPostLinkMarshaller
-
- All Implemented Interfaces:
Marshaller<Link>
public class ViewBlogPostLinkMarshaller extends Object implements Marshaller<Link>
-
-
Constructor Summary
Constructors Constructor Description ViewBlogPostLinkMarshaller(ResourceIdentifierResolver<BlogPostResourceIdentifier,BlogPost> blogPostResourceIdentifierResolver, XmlStreamWriterTemplate xmlStreamWriterTemplate, Marshaller<Link> unresolvedLinkMarshaller, CommonLinkAttributesWriter commonLinkAttributesWriter, Marshaller<Link> linkBodyMarshaller, HrefEvaluator hrefEvaluator, @Nullable StaxStreamMarshaller<Link> linkStaxStreamMarshaller)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Streamablemarshal(Link link, ConversionContext conversionContext)Marshals an object to XML.
-
-
-
Constructor Detail
-
ViewBlogPostLinkMarshaller
public ViewBlogPostLinkMarshaller(ResourceIdentifierResolver<BlogPostResourceIdentifier,BlogPost> blogPostResourceIdentifierResolver, XmlStreamWriterTemplate xmlStreamWriterTemplate, Marshaller<Link> unresolvedLinkMarshaller, CommonLinkAttributesWriter commonLinkAttributesWriter, Marshaller<Link> linkBodyMarshaller, HrefEvaluator hrefEvaluator, @Nullable StaxStreamMarshaller<Link> linkStaxStreamMarshaller)
-
-
Method Detail
-
marshal
public Streamable marshal(Link link, ConversionContext conversionContext) throws XhtmlException
Description copied from interface:MarshallerMarshals an object to XML.- Specified by:
marshalin 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
-
-