com.atlassian.confluence.content.render.xhtml.model.resource.identifiers
Class PageResourceIdentifierResolver

java.lang.Object
  extended by 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
PageResourceIdentifierResolver(PageManager pageManager)
           
 
Method Summary
 Page resolve(PageResourceIdentifier pageResourceIdentifier, ConversionContext conversionContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageResourceIdentifierResolver

public PageResourceIdentifierResolver(PageManager pageManager)
Method Detail

resolve

public Page resolve(PageResourceIdentifier pageResourceIdentifier,
                    ConversionContext conversionContext)
             throws CannotResolveResourceIdentifierException
Specified by:
resolve in interface ResourceIdentifierResolver<PageResourceIdentifier,Page>
Parameters:
pageResourceIdentifier - 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)


Copyright © 2003–2015 Atlassian. All rights reserved.