1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.mycore.iiif.image.model;
20
21 import java.util.HashSet;
22 import java.util.Set;
23
24 import org.mycore.iiif.model.MCRIIIFBase;
25
26 public class MCRIIIFImageProfile extends MCRIIIFBase {
27
28 public static final String IIIF_PROFILE_2_0 = "http://iiif.io/api/image/2/profiles/level2.json";
29
30 public static final String IIIF_IMAGE_PROFILE = "iiif:ImageProfile";
31
32 public Set<MCRIIIFFeatures> supports = new HashSet<>();
33
34 public Set<String> formats = new HashSet<>();
35
36 public Set<String> qualities = new HashSet<>();
37
38 public MCRIIIFImageProfile() {
39 super(IIIF_IMAGE_PROFILE, API_IMAGE_2);
40 supports.add(MCRIIIFFeatures.baseUriRedirect);
41 supports.add(MCRIIIFFeatures.canonicalLinkHeader);
42 supports.add(MCRIIIFFeatures.cors);
43 supports.add(MCRIIIFFeatures.jsonldMediaType);
44 supports.add(MCRIIIFFeatures.profileLinkHeader);
45 supports.add(MCRIIIFFeatures.profileLinkHeader);
46 }
47
48 }