Created
August 11, 2017 17:07
-
-
Save gregturn/b4ba97c330b7d4369248a908dc3b0d73 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public abstract class AffordanceModelFactory implements Plugin<MediaType> { | |
abstract public MediaType getMediaType(); | |
abstract public List<AffordanceModel> findAffordanceModels(Affordance affordance, Object invocationValue); | |
@Override | |
public boolean supports(MediaType delimiter) { | |
return delimiter != null && delimiter.equals(this.getMediaType()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment