Class ViewCreatePageLinkMarshaller
- java.lang.Object
-
- com.atlassian.confluence.content.render.xhtml.view.link.ViewCreatePageLinkMarshaller
-
- All Implemented Interfaces:
Marshaller<CreatePageLink>
public class ViewCreatePageLinkMarshaller extends Object implements Marshaller<CreatePageLink>
-
-
Constructor Summary
Constructors Constructor Description ViewCreatePageLinkMarshaller(XmlStreamWriterTemplate xmlStreamWriterTemplate, PermissionManager permissionManager, Marshaller<Link> unresolvedLinkMarshaller, CommonLinkAttributesWriter commonLinkAttributesWriter, Marshaller<Link> linkBodyMarshaller, @Nullable StaxStreamMarshaller<PageResourceIdentifier> pageResourceIdentifierStaxStreamMarshaller, SpaceManager spaceManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Streamable
marshal(CreatePageLink createPageLink, ConversionContext conversionContext)
Marshals an object to XML.
-
-
-
Constructor Detail
-
ViewCreatePageLinkMarshaller
public ViewCreatePageLinkMarshaller(XmlStreamWriterTemplate xmlStreamWriterTemplate, PermissionManager permissionManager, Marshaller<Link> unresolvedLinkMarshaller, CommonLinkAttributesWriter commonLinkAttributesWriter, Marshaller<Link> linkBodyMarshaller, @Nullable StaxStreamMarshaller<PageResourceIdentifier> pageResourceIdentifierStaxStreamMarshaller, SpaceManager spaceManager)
-
-
Method Detail
-
marshal
public Streamable marshal(CreatePageLink createPageLink, ConversionContext conversionContext) throws XhtmlException
Description copied from interface:Marshaller
Marshals an object to XML.- Specified by:
marshal
in interfaceMarshaller<CreatePageLink>
- Parameters:
createPageLink
- object to marshalconversionContext
- the conversion context- Returns:
- the XML representation of the object
- Throws:
XhtmlException
- if an error occurs during marshalling
-
-