public class UrlLinkMarshaller extends Object implements Marshaller<Link>
UrlResourceIdentifier. These links are marshalled differently because we actually want them to become standard XHTML links of the form <a href=""> style.
Such links are not used in typical editor/storage round tripping since the editor will simply
create <a href=""> style links for URLs anyway. These
only occur during migration, or as part of macro parameters.
|Constructor and Description|
|Modifier and Type||Method and Description|
Marshals an object to XML.
public UrlLinkMarshaller(XmlStreamWriterTemplate xmlStreamWriterTemplate)
public Streamable marshal(Link link, ConversionContext conversionContext) throws XhtmlException
link- object to marshal
conversionContext- the conversion context
XhtmlException- if an error occurs during marshalling
Copyright © 2003–2020 Atlassian. All rights reserved.