Class StorageLinkMarshaller
java.lang.Object
com.atlassian.confluence.content.render.xhtml.storage.link.StorageLinkMarshaller
- All Implemented Interfaces:
Marshaller<Link>
-
Constructor Summary
ConstructorsConstructorDescriptionStorageLinkMarshaller
(XmlStreamWriterTemplate xmlStreamWriterTemplate, Marshaller<ResourceIdentifier> resourceIdentifierMarshaller, Marshaller<LinkBody> linkBodyMarshaller, MarshallingRegistry marshallingRegistry) -
Method Summary
Modifier and TypeMethodDescriptionmarshal
(Link link, ConversionContext conversionContext) Marshals an object to XML.
-
Constructor Details
-
StorageLinkMarshaller
public StorageLinkMarshaller(XmlStreamWriterTemplate xmlStreamWriterTemplate, Marshaller<ResourceIdentifier> resourceIdentifierMarshaller, Marshaller<LinkBody> linkBodyMarshaller, MarshallingRegistry marshallingRegistry)
-
-
Method Details
-
marshal
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
-