public class ViewUnresolvedLinkBodyMarshaller extends Object implements Marshaller<Link>
UnresolvedLink.
This differs from ViewLinkBodyMarshaller in that it
only marshals link state. It makes no attempt to resolve the RI to an actual entity and work out a sensible default alias.
This is because we are resolving a link that has been flagged as unresolved.
| Constructor and Description |
|---|
ViewUnresolvedLinkBodyMarshaller(Marshaller<EmbeddedImage> embeddedImageMarshaller) |
| Modifier and Type | Method and Description |
|---|---|
Streamable |
marshal(Link link,
ConversionContext conversionContext)
Marshals an object to XML.
|
public ViewUnresolvedLinkBodyMarshaller(Marshaller<EmbeddedImage> embeddedImageMarshaller)
public Streamable marshal(Link link, ConversionContext conversionContext) throws XhtmlException
Marshallermarshal in interface Marshaller<Link>link - object to marshalconversionContext - the conversion contextXhtmlException - if an error occurs during marshallingCopyright © 2003–2022 Atlassian. All rights reserved.