com.atlassian.confluence.content.render.xhtml.editor.link
Class EditorLinkMarshallingStrategy

java.lang.Object
  extended by com.atlassian.confluence.content.render.xhtml.editor.link.EditorLinkMarshallingStrategy
All Implemented Interfaces:
StaxStreamMarshaller<Link>

public class EditorLinkMarshallingStrategy
extends java.lang.Object
implements StaxStreamMarshaller<Link>

Encapsulates all the extra marshalling concerns that are common to marshalling all links for the editor.


Constructor Summary
EditorLinkMarshallingStrategy(Marshaller<Link> linkBodyMarshaller, PageResourceIdentifierResolver pageResourceIdentifierResolver, SpaceResourceIdentifierResolver spaceResourceIdentifierResolver, AttachmentResourceIdentifierResolver attachmentResourceIdentifierResolver, ContentEntityResourceIdentifierResolver contentEntityResourceIdentifierResolver, BlogPostResourceIdentifierResolver blogPostResourceIdentifierResolver, SettingsManager settingsManager, ResourceIdentifierMatcher resourceIdentifierMatcher)
           
 
Method Summary
 void marshal(Link link, javax.xml.stream.XMLStreamWriter xmlStreamWriter, ConversionContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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,
                    javax.xml.stream.XMLStreamWriter xmlStreamWriter,
                    ConversionContext context)
             throws javax.xml.stream.XMLStreamException
Specified by:
marshal in interface StaxStreamMarshaller<Link>
Throws:
javax.xml.stream.XMLStreamException


Copyright © 2003-2014 Atlassian. All Rights Reserved.