public interface

ResourceIdentifierResolver

com.atlassian.confluence.content.render.xhtml.model.resource.identifiers.ResourceIdentifierResolver<X extends com.atlassian.confluence.content.render.xhtml.model.resource.identifiers.ResourceIdentifier, Y>
Known Indirect Subclasses

Class Overview

Responsible for resolving or locating the actual resource identified by a resource identifier.

Summary

Public Methods
Y resolve(X resourceIdentifier, ConversionContext conversionContext)

Public Methods

public Y resolve (X resourceIdentifier, ConversionContext conversionContext)

Parameters
resourceIdentifier resource identifier
conversionContext the conversion context
Returns
  • the resource associated with the specified resource identifier (cannot be null)
Throws
CannotResolveResourceIdentifierException if the specified resource identifier cannot be resolved (this shouldn't typically happen unless someone has removed the resource)