com.atlassian.confluence.content.render.xhtml.model.resource.identifiers
Interface ResourceIdentifierFactory

All Known Implementing Classes:
DefaultResourceIdentifierFactory

public interface ResourceIdentifierFactory

Responsible for generating a resource identifier for a resource.


Method Summary
 ResourceIdentifier getResourceIdentifier(java.lang.Object resource, ConversionContext context)
          Creates a resource identifier for the specified resource.
 

Method Detail

getResourceIdentifier

ResourceIdentifier getResourceIdentifier(java.lang.Object resource,
                                         ConversionContext context)
Creates a resource identifier for the specified resource.

Parameters:
resource - the resource
context - The context to generate the resource identifier in
Returns:
the resource identifier (cannot be null)
Throws:
ResourceIdentifierCreationException - if there is an error creating the resource identifier


Copyright © 2003-2014 Atlassian. All Rights Reserved.