public class ViewUserLinkMarshaller extends Object implements Marshaller<Link>
Constructor and Description |
---|
ViewUserLinkMarshaller(UserAccessor userAccessor,
XmlStreamWriterTemplate xmlStreamWriterTemplate,
CommonLinkAttributesWriter commonLinkAttributesWriter,
Marshaller<Link> linkBodyMarshaller,
Marshaller<Link> unresolvedLinkMarshaller,
@Nullable StaxStreamMarshaller<UserResourceIdentifier> resourceIdentifierStaxStreamMarshaller,
@Nullable StaxStreamMarshaller<Link> linkStaxStreamMarshaller,
PersonalInformationManager personalInformationManager,
HrefEvaluator hrefEvaluator,
SettingsManager settingsManager) |
Modifier and Type | Method and Description |
---|---|
Streamable |
marshal(Link userLink,
ConversionContext conversionContext)
Marshals an object to XML.
|
public ViewUserLinkMarshaller(UserAccessor userAccessor, XmlStreamWriterTemplate xmlStreamWriterTemplate, CommonLinkAttributesWriter commonLinkAttributesWriter, Marshaller<Link> linkBodyMarshaller, Marshaller<Link> unresolvedLinkMarshaller, @Nullable StaxStreamMarshaller<UserResourceIdentifier> resourceIdentifierStaxStreamMarshaller, @Nullable StaxStreamMarshaller<Link> linkStaxStreamMarshaller, PersonalInformationManager personalInformationManager, HrefEvaluator hrefEvaluator, SettingsManager settingsManager)
public Streamable marshal(Link userLink, ConversionContext conversionContext) throws XhtmlException
Marshaller
marshal
in interface Marshaller<Link>
userLink
- object to marshalconversionContext
- the conversion contextXhtmlException
- if an error occurs during marshallingCopyright © 2003–2020 Atlassian. All rights reserved.