public class ViewBlogPostLinkMarshaller extends Object implements Marshaller<Link>
Constructor and Description |
---|
ViewBlogPostLinkMarshaller(ResourceIdentifierResolver<BlogPostResourceIdentifier,BlogPost> blogPostResourceIdentifierResolver,
XmlStreamWriterTemplate xmlStreamWriterTemplate,
Marshaller<Link> unresolvedLinkMarshaller,
CommonLinkAttributesWriter commonLinkAttributesWriter,
Marshaller<Link> linkBodyMarshaller,
HrefEvaluator hrefEvaluator,
StaxStreamMarshaller<Link> linkStaxStreamMarshaller) |
Modifier and Type | Method and Description |
---|---|
Streamable |
marshal(Link link,
ConversionContext conversionContext)
Marshals an object to XML.
|
public ViewBlogPostLinkMarshaller(ResourceIdentifierResolver<BlogPostResourceIdentifier,BlogPost> blogPostResourceIdentifierResolver, XmlStreamWriterTemplate xmlStreamWriterTemplate, Marshaller<Link> unresolvedLinkMarshaller, CommonLinkAttributesWriter commonLinkAttributesWriter, Marshaller<Link> linkBodyMarshaller, HrefEvaluator hrefEvaluator, @Nullable StaxStreamMarshaller<Link> linkStaxStreamMarshaller)
public Streamable marshal(Link link, ConversionContext conversionContext) throws XhtmlException
Marshaller
marshal
in interface Marshaller<Link>
link
- object to marshalconversionContext
- the conversion contextXhtmlException
- if an error occurs during marshallingCopyright © 2003–2017 Atlassian. All rights reserved.