public class ViewPageLinkMarshaller extends Object implements Marshaller<Link>
Constructor and Description |
---|
ViewPageLinkMarshaller(ResourceIdentifierResolver<PageResourceIdentifier,Page> resourceIdentifierResolver,
XmlStreamWriterTemplate xmlStreamWriterTemplate,
Marshaller<CreatePageLink> createPageLinkMarshaller,
CommonLinkAttributesWriter commonLinkAttributesWriter,
Marshaller<Link> linkBodyMarshaller,
HrefEvaluator hrefEvaluator,
@Nullable StaxStreamMarshaller<Link> linkStaxStreamMarshaller) |
Modifier and Type | Method and Description |
---|---|
Streamable |
marshal(Link attachmentLink,
ConversionContext conversionContext)
Marshals an object to XML.
|
public ViewPageLinkMarshaller(ResourceIdentifierResolver<PageResourceIdentifier,Page> resourceIdentifierResolver, XmlStreamWriterTemplate xmlStreamWriterTemplate, Marshaller<CreatePageLink> createPageLinkMarshaller, CommonLinkAttributesWriter commonLinkAttributesWriter, Marshaller<Link> linkBodyMarshaller, 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–2019 Atlassian. All rights reserved.