Class SupplementaryAnnotations
- java.lang.Object
-
- info.freelibrary.iiif.presentation.v3.SupplementaryAnnotations
-
public class SupplementaryAnnotations extends Object
A link from a range to anAnnotationCollection
that includes the supplementing annotations.
-
-
Constructor Summary
Constructors Constructor Description SupplementaryAnnotations(String aID)
Creates a link to anAnnotationCollection
that contains supplementary annotations.SupplementaryAnnotations(URI aID)
Creates a link to anAnnotationCollection
that contains supplementary annotations.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URI
getID()
Gets the ID of the linked annotation collection.String
getType()
Gets the type of the supplementary annotations.SupplementaryAnnotations
setID(String aID)
Sets the ID, in string form, of the linked annotation collection.SupplementaryAnnotations
setID(URI aID)
Sets the ID of the linked annotation collection.
-
-
-
Constructor Detail
-
SupplementaryAnnotations
public SupplementaryAnnotations(String aID)
Creates a link to anAnnotationCollection
that contains supplementary annotations.- Parameters:
aID
- An ID of an annotation collection
-
SupplementaryAnnotations
public SupplementaryAnnotations(URI aID)
Creates a link to anAnnotationCollection
that contains supplementary annotations.- Parameters:
aID
- An ID of an annotation collection
-
-
Method Detail
-
getID
public URI getID()
Gets the ID of the linked annotation collection.- Returns:
- The ID of the linked annotation collection
-
setID
public SupplementaryAnnotations setID(String aID)
Sets the ID, in string form, of the linked annotation collection.- Parameters:
aID
- The ID of the linked annotation collection- Returns:
- The supplementary annotations
-
setID
public SupplementaryAnnotations setID(URI aID)
Sets the ID of the linked annotation collection.- Parameters:
aID
- The ID of the linked annotation collection- Returns:
- The supplementary annotations
-
getType
public String getType()
Gets the type of the supplementary annotations.- Returns:
- The supplementary annotations type
-
-