Interface ResourceIdentifierFactory
-
- All Known Implementing Classes:
DefaultResourceIdentifierFactory
public interface ResourceIdentifierFactoryResponsible for generating a resource identifier for a resource.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResourceIdentifiergetResourceIdentifier(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 resourcecontext- 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
-
-