Class ViewUserLinkMarshaller
- java.lang.Object
-
- com.atlassian.confluence.content.render.xhtml.view.link.ViewUserLinkMarshaller
-
- All Implemented Interfaces:
Marshaller<Link>
public class ViewUserLinkMarshaller extends Object implements Marshaller<Link>
-
-
Constructor Summary
Constructors Constructor Description ViewUserLinkMarshaller(ConfluenceUserResolver confluenceUserResolver, XmlStreamWriterTemplate xmlStreamWriterTemplate, CommonLinkAttributesWriter commonLinkAttributesWriter, Marshaller<Link> linkBodyMarshaller, Marshaller<Link> unresolvedLinkMarshaller, @Nullable StaxStreamMarshaller<UserResourceIdentifier> resourceIdentifierStaxStreamMarshaller, @Nullable StaxStreamMarshaller<Link> linkStaxStreamMarshaller, PersonalInformationManager personalInformationManager, HrefEvaluator hrefEvaluator, GlobalSettingsManager settingsManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Streamable
marshal(Link userLink, ConversionContext conversionContext)
Marshals an object to XML.
-
-
-
Constructor Detail
-
ViewUserLinkMarshaller
public ViewUserLinkMarshaller(ConfluenceUserResolver confluenceUserResolver, XmlStreamWriterTemplate xmlStreamWriterTemplate, CommonLinkAttributesWriter commonLinkAttributesWriter, Marshaller<Link> linkBodyMarshaller, Marshaller<Link> unresolvedLinkMarshaller, @Nullable StaxStreamMarshaller<UserResourceIdentifier> resourceIdentifierStaxStreamMarshaller, @Nullable StaxStreamMarshaller<Link> linkStaxStreamMarshaller, PersonalInformationManager personalInformationManager, HrefEvaluator hrefEvaluator, GlobalSettingsManager settingsManager)
- Since:
- 7.16
-
-
Method Detail
-
marshal
public Streamable marshal(Link userLink, ConversionContext conversionContext) throws XhtmlException
Description copied from interface:Marshaller
Marshals an object to XML.- Specified by:
marshal
in interfaceMarshaller<Link>
- Parameters:
userLink
- object to marshalconversionContext
- the conversion context- Returns:
- the XML representation of the object
- Throws:
XhtmlException
- if an error occurs during marshalling
-
-