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