Class StorageLinkMarshaller
- java.lang.Object
-
- com.atlassian.confluence.content.render.xhtml.storage.link.StorageLinkMarshaller
-
- All Implemented Interfaces:
Marshaller<Link>
public class StorageLinkMarshaller extends Object implements Marshaller<Link>
-
-
Constructor Summary
Constructors Constructor Description StorageLinkMarshaller(XmlStreamWriterTemplate xmlStreamWriterTemplate, Marshaller<ResourceIdentifier> resourceIdentifierMarshaller, Marshaller<LinkBody> linkBodyMarshaller, MarshallingRegistry marshallingRegistry)
-
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
-
StorageLinkMarshaller
public StorageLinkMarshaller(XmlStreamWriterTemplate xmlStreamWriterTemplate, Marshaller<ResourceIdentifier> resourceIdentifierMarshaller, Marshaller<LinkBody> linkBodyMarshaller, MarshallingRegistry marshallingRegistry)
-
-
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
-
-