Class OtherContent

  • All Implemented Interfaces:
    Choice<OtherContent>

    public class OtherContent
    extends Resource<OtherContent>
    Type for Content resources such as images or texts that are associated with a canvas.

    Used in the "related", "renderings" and "otherContent" fields of IIIF resources.

    • Constructor Detail

      • OtherContent

        public OtherContent​(String identifier)
      • OtherContent

        public OtherContent​(String identifier,
                            String format)
      • OtherContent

        public OtherContent​(String identifier,
                            String format,
                            String profile)
    • Method Detail

      • setType

        public void setType​(String type)
      • getFormat

        public MimeType getFormat()
      • setFormat

        public void setFormat​(MimeType format)
      • setFormat

        public void setFormat​(String format)
      • getWidth

        public Integer getWidth()
      • setWidth

        public void setWidth​(Integer width)
      • getHeight

        public Integer getHeight()
      • setHeight

        public void setHeight​(Integer height)
      • getProfile

        public Profile getProfile()
      • setProfile

        public void setProfile​(URI uri)