Class ContentAsText
- java.lang.Object
-
- de.digitalcollections.iiif.model.sharedcanvas.Resource<ContentAsText>
-
- de.digitalcollections.iiif.model.openannotation.ContentAsText
-
- All Implemented Interfaces:
Choice<ContentAsText>
- Direct Known Subclasses:
CssStyle,SvgSelector
public class ContentAsText extends Resource<ContentAsText>
A resource that contains embedded textual content.
-
-
Constructor Summary
Constructors Constructor Description ContentAsText(String chars)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetChars()MimeTypegetFormat()LocalegetLanguage()List<String>getTypes()voidsetChars(String chars)voidsetFormat(MimeType format)voidsetLanguage(Locale language)voidsetType(String type)-
Methods inherited from class de.digitalcollections.iiif.model.sharedcanvas.Resource
addAttribution, addDescription, addLabel, addLicense, addLogo, addLogo, addMetadata, addMetadata, addRelated, addRendering, addSeeAlso, addService, addThumbnail, addViewingHint, addWithin, getAlternatives, getAttribution, getAttributionString, getDescription, getDescriptionString, getFirstLicense, getIdentifier, getLabel, getLabelString, getLicenses, getLogos, getLogoUri, getMetadata, getRelated, getRenderings, getSeeAlso, getServices, getSupportedViewingHintTypes, getThumbnail, getThumbnails, getType, getViewingHints, getWithin, isDefaultChoice, setAlternatives, setAttribution, setDescription, setIdentifier, setIsDefaultChoice, setLabel, setLicenses, setLogos, setRelated, setRenderings, setSeeAlso, setServices, setThumbnails, setViewingHints, setWithin, toString, verifyRendering
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface de.digitalcollections.iiif.model.openannotation.Choice
addAlternative
-
-
-
-
Field Detail
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ContentAsText
public ContentAsText(String chars)
-
-
Method Detail
-
getChars
public String getChars()
-
setChars
public void setChars(String chars)
-
getFormat
public MimeType getFormat()
-
setFormat
public void setFormat(MimeType format)
-
getLanguage
public Locale getLanguage()
-
setLanguage
public void setLanguage(Locale language)
-
setType
public void setType(String type)
-
-