public class ViewLinkBodyMarshaller extends Object implements Marshaller<Link>
Constructor and Description |
---|
ViewLinkBodyMarshaller(Marshaller<EmbeddedImage> embeddedImageMarshaller,
ResourceIdentifierResolver<SpaceResourceIdentifier,Space> spaceResourceIdentifierResolver,
ResourceIdentifierResolver<ContentEntityResourceIdentifier,ContentEntityObject> contentEntityResourceIdentifierResolver,
ResourceIdentifierResolver<IdAndTypeResourceIdentifier,Object> idAndTypeResourceIdentifierResolver,
UserAccessor userAccessor,
ResourceIdentifierMatcher resourceIdentifierMatcher,
ResourceIdentifierContextUtility resourceIdentifierContextUtility,
ShortcutLinksManager shortcutLinksManager) |
Modifier and Type | Method and Description |
---|---|
Streamable |
marshal(Link link,
ConversionContext conversionContext)
Marshals an object to XML.
|
public ViewLinkBodyMarshaller(Marshaller<EmbeddedImage> embeddedImageMarshaller, ResourceIdentifierResolver<SpaceResourceIdentifier,Space> spaceResourceIdentifierResolver, ResourceIdentifierResolver<ContentEntityResourceIdentifier,ContentEntityObject> contentEntityResourceIdentifierResolver, ResourceIdentifierResolver<IdAndTypeResourceIdentifier,Object> idAndTypeResourceIdentifierResolver, UserAccessor userAccessor, ResourceIdentifierMatcher resourceIdentifierMatcher, ResourceIdentifierContextUtility resourceIdentifierContextUtility, ShortcutLinksManager shortcutLinksManager)
public Streamable marshal(Link link, ConversionContext conversionContext) throws XhtmlException
Marshaller
marshal
in interface Marshaller<Link>
link
- object to marshalconversionContext
- the conversion contextXhtmlException
- if an error occurs during marshallingCopyright © 2003–2018 Atlassian. All rights reserved.