public class ViewCreatePageLinkMarshaller extends Object implements Marshaller<CreatePageLink>
Constructor and Description |
---|
ViewCreatePageLinkMarshaller(XmlStreamWriterTemplate xmlStreamWriterTemplate,
PermissionManager permissionManager,
Marshaller<Link> unresolvedLinkMarshaller,
Marshaller<Link> linkBodyMarshaller,
StaxStreamMarshaller<PageResourceIdentifier> pageResourceIdentifierStaxStreamMarshaller,
SpaceManager spaceManager,
ModelToRenderedClassMapper mapper) |
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, Marshaller<Link> linkBodyMarshaller, StaxStreamMarshaller<PageResourceIdentifier> pageResourceIdentifierStaxStreamMarshaller, SpaceManager spaceManager, ModelToRenderedClassMapper mapper)
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–2016 Atlassian. All rights reserved.