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

java.lang.Object
  extended by com.atlassian.confluence.content.render.xhtml.model.resource.identifiers.ContentEntityResourceIdentifierResolver
All Implemented Interfaces:
ResourceIdentifierResolver<ContentEntityResourceIdentifier,ContentEntityObject>

public class ContentEntityResourceIdentifierResolver
extends Object
implements ResourceIdentifierResolver<ContentEntityResourceIdentifier,ContentEntityObject>


Constructor Summary
ContentEntityResourceIdentifierResolver(ContentDao contentDao)
           
 
Method Summary
 ContentEntityObject resolve(ContentEntityResourceIdentifier resourceIdentifier, ConversionContext conversionContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentEntityResourceIdentifierResolver

public ContentEntityResourceIdentifierResolver(ContentDao contentDao)
Method Detail

resolve

public ContentEntityObject resolve(ContentEntityResourceIdentifier resourceIdentifier,
                                   ConversionContext conversionContext)
                            throws CannotResolveResourceIdentifierException
Specified by:
resolve in interface ResourceIdentifierResolver<ContentEntityResourceIdentifier,ContentEntityObject>
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)


Copyright © 2003-2012 Atlassian. All Rights Reserved.