Class UrlLinkMarshaller
- java.lang.Object
 - 
- com.atlassian.confluence.content.render.xhtml.migration.UrlLinkMarshaller
 
 
- 
- All Implemented Interfaces:
 Marshaller<Link>
public class UrlLinkMarshaller extends Object implements Marshaller<Link>
A Marshaller specifically used in handling links forUrlResourceIdentifier. 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
UrlResourceIdentifierlinks only occur during migration, or as part of macro parameters. 
- 
- 
Constructor Summary
Constructors Constructor Description UrlLinkMarshaller(XmlStreamWriterTemplate xmlStreamWriterTemplate) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Streamablemarshal(Link link, ConversionContext conversionContext)Marshals an object to XML. 
 - 
 
- 
- 
Constructor Detail
- 
UrlLinkMarshaller
public UrlLinkMarshaller(XmlStreamWriterTemplate xmlStreamWriterTemplate)
 
 - 
 
- 
Method Detail
- 
marshal
public Streamable marshal(Link link, ConversionContext conversionContext) throws XhtmlException
Description copied from interface:MarshallerMarshals an object to XML.- Specified by:
 marshalin 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
 
 - 
 
 -