Class ViewLinkBodyMarshaller
- java.lang.Object
-
- com.atlassian.confluence.content.render.xhtml.view.link.ViewLinkBodyMarshaller
-
- All Implemented Interfaces:
Marshaller<Link>
public class ViewLinkBodyMarshaller extends Object implements Marshaller<Link>
Marshals link bodies for view.
-
-
Constructor Summary
Constructors Constructor Description ViewLinkBodyMarshaller(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Streamable
marshal(Link link, ConversionContext conversionContext)
Marshals an object to XML.
-
-
-
Constructor Detail
-
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 Detail
-
marshal
public Streamable marshal(Link link, ConversionContext conversionContext) throws XhtmlException
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
-
-