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(Object resource, ConversionContext context)
          Creates a resource identifier for the specified resource.
 

Method Detail

getResourceIdentifier

ResourceIdentifier getResourceIdentifier(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-2012 Atlassian. All Rights Reserved.