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 Constructor Description PageResourceIdentifierResolver(PageManager pageManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Page
resolve(PageResourceIdentifier pageResourceIdentifier, ConversionContext conversionContext)
-
-
-
Constructor Detail
-
PageResourceIdentifierResolver
public PageResourceIdentifierResolver(PageManager pageManager)
-
-
Method Detail
-
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)
-
-