Class PageResourceIdentifierResolver
java.lang.Object
com.atlassian.confluence.content.render.xhtml.model.resource.identifiers.PageResourceIdentifierResolver
- All Implemented Interfaces:
ResourceIdentifierResolver<PageResourceIdentifier,
Page>
public class PageResourceIdentifierResolver
extends Object
implements ResourceIdentifierResolver<PageResourceIdentifier,Page>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionresolve
(PageResourceIdentifier pageResourceIdentifier, ConversionContext conversionContext)
-
Constructor Details
-
PageResourceIdentifierResolver
-
-
Method Details
-
resolve
public Page resolve(PageResourceIdentifier pageResourceIdentifier, ConversionContext conversionContext) throws CannotResolveResourceIdentifierException - Specified by:
resolve
in interfaceResourceIdentifierResolver<PageResourceIdentifier,
Page> - Parameters:
pageResourceIdentifier
- resource identifierconversionContext
- 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)
-