Class ViewShortcutLinkMarshaller
java.lang.Object
com.atlassian.confluence.content.render.xhtml.view.link.ViewShortcutLinkMarshaller
- All Implemented Interfaces:
Marshaller<Link>
-
Constructor Summary
ConstructorsConstructorDescriptionViewShortcutLinkMarshaller
(ShortcutLinksManager shortcutLinksManager, Marshaller<UnresolvedLink> unresolvedLinkMarshaller, XmlStreamWriterTemplate xmlStreamWriterTemplate, CommonLinkAttributesWriter commonLinkAttributesWriter, Marshaller<Link> linkBodyMarshaller, @Nullable StaxStreamMarshaller<ShortcutResourceIdentifier> resourceIdentifierStaxStreamMarshaller, @Nullable StaxStreamMarshaller<Link> linkStaxStreamMarshaller) -
Method Summary
Modifier and TypeMethodDescriptionmarshal
(Link shortcutLink, ConversionContext conversionContext) Marshals an object to XML.
-
Constructor Details
-
ViewShortcutLinkMarshaller
public ViewShortcutLinkMarshaller(ShortcutLinksManager shortcutLinksManager, Marshaller<UnresolvedLink> unresolvedLinkMarshaller, XmlStreamWriterTemplate xmlStreamWriterTemplate, CommonLinkAttributesWriter commonLinkAttributesWriter, Marshaller<Link> linkBodyMarshaller, @Nullable StaxStreamMarshaller<ShortcutResourceIdentifier> resourceIdentifierStaxStreamMarshaller, @Nullable StaxStreamMarshaller<Link> linkStaxStreamMarshaller)
-
-
Method Details
-
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
-