Interface AffordanceModelFactory
public interface AffordanceModelFactory
SPI for media type implementations to create a specific
AffordanceModel for a ConfiguredAffordance.- Author:
- Greg Turnquist, Oliver Gierke
-
Method Summary
Modifier and TypeMethodDescriptiongetAffordanceModel(ConfiguredAffordance configured) Return theAffordanceModelfor the givenConfiguredAffordance.Declare theMediaTypethis factory supports.
-
Method Details
-
getMediaType
MediaType getMediaType()Declare theMediaTypethis factory supports.- Returns:
-
getAffordanceModel
Return theAffordanceModelfor the givenConfiguredAffordance.- Parameters:
configured- will never be null.- Returns:
- must not be null.
- Since:
- 1.3
-