Interface ResourceIdentifierFactory
- All Known Implementing Classes:
DefaultResourceIdentifierFactory
public interface ResourceIdentifierFactory
Responsible for generating a resource identifier for a resource.
-
Method Summary
Modifier and TypeMethodDescriptiongetResourceIdentifier
(Object resource, ConversionContext context) Creates a resource identifier for the specified resource.
-
Method Details
-
getResourceIdentifier
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
-