public class ViewCreatePageLinkMarshaller extends Object implements Marshaller<CreatePageLink>
Constructor and Description |
---|
ViewCreatePageLinkMarshaller(XmlStreamWriterTemplate xmlStreamWriterTemplate,
PermissionManager permissionManager,
Marshaller<Link> unresolvedLinkMarshaller,
CommonLinkAttributesWriter commonLinkAttributesWriter,
Marshaller<Link> linkBodyMarshaller,
StaxStreamMarshaller<PageResourceIdentifier> pageResourceIdentifierStaxStreamMarshaller,
SpaceManager spaceManager) |
Modifier and Type | Method and Description |
---|---|
Streamable |
marshal(CreatePageLink createPageLink,
ConversionContext conversionContext)
Marshals an object to XML.
|
public ViewCreatePageLinkMarshaller(XmlStreamWriterTemplate xmlStreamWriterTemplate, PermissionManager permissionManager, Marshaller<Link> unresolvedLinkMarshaller, CommonLinkAttributesWriter commonLinkAttributesWriter, Marshaller<Link> linkBodyMarshaller, @Nullable StaxStreamMarshaller<PageResourceIdentifier> pageResourceIdentifierStaxStreamMarshaller, SpaceManager spaceManager)
public Streamable marshal(CreatePageLink createPageLink, ConversionContext conversionContext) throws XhtmlException
Marshaller
marshal
in interface Marshaller<CreatePageLink>
createPageLink
- object to marshalconversionContext
- the conversion contextXhtmlException
- if an error occurs during marshallingCopyright © 2003–2017 Atlassian. All rights reserved.