Class ViewLinkBodyMarshaller
java.lang.Object
com.atlassian.confluence.content.render.xhtml.view.link.ViewLinkBodyMarshaller
- All Implemented Interfaces:
Marshaller<Link>
Marshals link bodies for view.
-
Constructor Summary
ConstructorDescriptionViewLinkBodyMarshaller
(Marshaller<EmbeddedImage> embeddedImageMarshaller, ResourceIdentifierResolver<SpaceResourceIdentifier, Space> spaceResourceIdentifierResolver, ResourceIdentifierResolver<ContentEntityResourceIdentifier, ContentEntityObject> contentEntityResourceIdentifierResolver, ResourceIdentifierResolver<IdAndTypeResourceIdentifier, Object> idAndTypeResourceIdentifierResolver, ConfluenceUserResolver confluenceUserResolver, ResourceIdentifierMatcher resourceIdentifierMatcher, ResourceIdentifierContextUtility resourceIdentifierContextUtility, ShortcutLinksManager shortcutLinksManager) -
Method Summary
Modifier and TypeMethodDescriptionmarshal
(Link link, ConversionContext conversionContext) Marshals an object to XML.
-
Constructor Details
-
ViewLinkBodyMarshaller
public ViewLinkBodyMarshaller(Marshaller<EmbeddedImage> embeddedImageMarshaller, ResourceIdentifierResolver<SpaceResourceIdentifier, Space> spaceResourceIdentifierResolver, ResourceIdentifierResolver<ContentEntityResourceIdentifier, ContentEntityObject> contentEntityResourceIdentifierResolver, ResourceIdentifierResolver<IdAndTypeResourceIdentifier, Object> idAndTypeResourceIdentifierResolver, ConfluenceUserResolver confluenceUserResolver, ResourceIdentifierMatcher resourceIdentifierMatcher, ResourceIdentifierContextUtility resourceIdentifierContextUtility, ShortcutLinksManager shortcutLinksManager) - Since:
- 7.16
-
-
Method Details
-
marshal
Description copied from interface:Marshaller
Marshals an object to XML.- Specified by:
marshal
in interfaceMarshaller<Link>
- Parameters:
link
- object to marshalconversionContext
- the conversion context- Returns:
- the XML representation of the object
- Throws:
XhtmlException
- if an error occurs during marshalling
-