com.atlassian.confluence.content.render.xhtml.migration
Interface EmbeddedResourceResolver

All Known Implementing Classes:
DefaultEmbeddedResourceResolver

public interface EmbeddedResourceResolver

Interface to represent the concern of resolving of a v2 embedded resource into a persistent Attachment object.

This was introduced to permit unit testing of embedded resource migration. (i.e. it allows for a simple implementation that delegates to EmbeddedResourceUtils).


Method Summary
 Attachment resolve(com.atlassian.renderer.embedded.EmbeddedResource embeddedResource, PageContext pageContext)
           
 

Method Detail

resolve

Attachment resolve(com.atlassian.renderer.embedded.EmbeddedResource embeddedResource,
                   PageContext pageContext)


Copyright © 2003-2011 Atlassian. All Rights Reserved.