Class ViewShortcutLinkMarshaller
- java.lang.Object
-
- com.atlassian.confluence.content.render.xhtml.view.link.ViewShortcutLinkMarshaller
-
- All Implemented Interfaces:
Marshaller<Link>
public class ViewShortcutLinkMarshaller extends Object implements Marshaller<Link>
-
-
Constructor Summary
Constructors Constructor Description ViewShortcutLinkMarshaller(ShortcutLinksManager shortcutLinksManager, Marshaller<UnresolvedLink> unresolvedLinkMarshaller, XmlStreamWriterTemplate xmlStreamWriterTemplate, CommonLinkAttributesWriter commonLinkAttributesWriter, Marshaller<Link> linkBodyMarshaller, @Nullable StaxStreamMarshaller<ShortcutResourceIdentifier> resourceIdentifierStaxStreamMarshaller, @Nullable StaxStreamMarshaller<Link> linkStaxStreamMarshaller)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Streamable
marshal(Link shortcutLink, ConversionContext conversionContext)
Marshals an object to XML.
-
-
-
Constructor Detail
-
ViewShortcutLinkMarshaller
public ViewShortcutLinkMarshaller(ShortcutLinksManager shortcutLinksManager, Marshaller<UnresolvedLink> unresolvedLinkMarshaller, XmlStreamWriterTemplate xmlStreamWriterTemplate, CommonLinkAttributesWriter commonLinkAttributesWriter, Marshaller<Link> linkBodyMarshaller, @Nullable StaxStreamMarshaller<ShortcutResourceIdentifier> resourceIdentifierStaxStreamMarshaller, @Nullable StaxStreamMarshaller<Link> linkStaxStreamMarshaller)
-
-
Method Detail
-
marshal
public Streamable marshal(Link shortcutLink, ConversionContext conversionContext) throws XhtmlException
Description copied from interface:Marshaller
Marshals an object to XML.- Specified by:
marshal
in interfaceMarshaller<Link>
- Parameters:
shortcutLink
- object to marshalconversionContext
- the conversion context- Returns:
- the XML representation of the object
- Throws:
XhtmlException
- if an error occurs during marshalling
-
-