Class EditorLinkMarshallingStrategy
- java.lang.Object
-
- com.atlassian.confluence.content.render.xhtml.editor.link.EditorLinkMarshallingStrategy
-
- All Implemented Interfaces:
StaxStreamMarshaller<Link>
public class EditorLinkMarshallingStrategy extends Object implements StaxStreamMarshaller<Link>
Encapsulates all the extra marshalling concerns that are common to marshalling all links for the editor.
-
-
Constructor Summary
Constructors Constructor Description EditorLinkMarshallingStrategy(Marshaller<Link> linkBodyMarshaller, PageResourceIdentifierResolver pageResourceIdentifierResolver, SpaceResourceIdentifierResolver spaceResourceIdentifierResolver, AttachmentResourceIdentifierResolver attachmentResourceIdentifierResolver, ContentEntityResourceIdentifierResolver contentEntityResourceIdentifierResolver, BlogPostResourceIdentifierResolver blogPostResourceIdentifierResolver, SettingsManager settingsManager, ResourceIdentifierMatcher resourceIdentifierMatcher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
marshal(Link link, XMLStreamWriter xmlStreamWriter, ConversionContext context)
-
-
-
Constructor Detail
-
EditorLinkMarshallingStrategy
public EditorLinkMarshallingStrategy(Marshaller<Link> linkBodyMarshaller, PageResourceIdentifierResolver pageResourceIdentifierResolver, SpaceResourceIdentifierResolver spaceResourceIdentifierResolver, AttachmentResourceIdentifierResolver attachmentResourceIdentifierResolver, ContentEntityResourceIdentifierResolver contentEntityResourceIdentifierResolver, BlogPostResourceIdentifierResolver blogPostResourceIdentifierResolver, SettingsManager settingsManager, ResourceIdentifierMatcher resourceIdentifierMatcher)
-
-
Method Detail
-
marshal
public void marshal(Link link, XMLStreamWriter xmlStreamWriter, ConversionContext context) throws XMLStreamException
- Specified by:
marshal
in interfaceStaxStreamMarshaller<Link>
- Throws:
XMLStreamException
-
-