public class ViewShortcutLinkMarshaller extends Object implements Marshaller<Link>
| Constructor and Description |
|---|
ViewShortcutLinkMarshaller(ShortcutLinksManager shortcutLinksManager,
Marshaller<UnresolvedLink> unresolvedLinkMarshaller,
XmlStreamWriterTemplate xmlStreamWriterTemplate,
CommonLinkAttributesWriter commonLinkAttributesWriter,
Marshaller<Link> linkBodyMarshaller,
StaxStreamMarshaller<ShortcutResourceIdentifier> resourceIdentifierStaxStreamMarshaller,
StaxStreamMarshaller<Link> linkStaxStreamMarshaller) |
| Modifier and Type | Method and Description |
|---|---|
Streamable |
marshal(Link shortcutLink,
ConversionContext conversionContext)
Marshals an object to XML.
|
public ViewShortcutLinkMarshaller(ShortcutLinksManager shortcutLinksManager, Marshaller<UnresolvedLink> unresolvedLinkMarshaller, XmlStreamWriterTemplate xmlStreamWriterTemplate, CommonLinkAttributesWriter commonLinkAttributesWriter, Marshaller<Link> linkBodyMarshaller, @Nullable StaxStreamMarshaller<ShortcutResourceIdentifier> resourceIdentifierStaxStreamMarshaller, @Nullable StaxStreamMarshaller<Link> linkStaxStreamMarshaller)
public Streamable marshal(Link shortcutLink, ConversionContext conversionContext) throws XhtmlException
Marshallermarshal in interface Marshaller<Link>shortcutLink - object to marshalconversionContext - the conversion contextXhtmlException - if an error occurs during marshallingCopyright © 2003–2018 Atlassian. All rights reserved.