Interface AffordanceModelFactory


public interface AffordanceModelFactory
SPI for media type implementations to create a specific AffordanceModel for a ConfiguredAffordance.
Author:
Greg Turnquist, Oliver Gierke
  • Method Details

    • getMediaType

      org.springframework.http.MediaType getMediaType()
      Declare the MediaType this factory supports.
      Returns:
    • getAffordanceModel

      AffordanceModel getAffordanceModel(ConfiguredAffordance configured)
      Return the AffordanceModel for the given ConfiguredAffordance.
      Parameters:
      configured - will never be null.
      Returns:
      must not be null.
      Since:
      1.3