Class DiffLinkMarshaller
java.lang.Object
com.atlassian.confluence.diff.marshallers.DiffLinkMarshaller
- All Implemented Interfaces:
Marshaller<Link>
-
Constructor Summary
ConstructorsConstructorDescriptionDiffLinkMarshaller
(Marshaller<Link> delegatingLinkMarshaller, Marshaller<UnresolvedLink> unresolvedLinkMarshaller) -
Method Summary
Modifier and TypeMethodDescriptionmarshal
(Link link, ConversionContext conversionContext) Marshals an object to XML.
-
Constructor Details
-
DiffLinkMarshaller
public DiffLinkMarshaller(Marshaller<Link> delegatingLinkMarshaller, Marshaller<UnresolvedLink> unresolvedLinkMarshaller)
-
-
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
-