public class TagModelMedia extends TagModel
| Modifier and Type | Class | Description |
|---|---|---|
static class |
TagModelMedia.Type |
name: type
format: enumerated-string
status: REQUIRED
|
attributes, tagName| Constructor | Description |
|---|---|
TagModelMedia() |
|
TagModelMedia(TagModelMedia.Type type,
String groupId,
String name,
String instreamId,
String uri,
String language,
String associatedLanguage,
Boolean defaultRendition,
Boolean autoselect,
Boolean forced,
String characteristics) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(Object obj) |
|
String |
getAssociatedLanguage() |
|
Boolean |
getAutoselect() |
|
String |
getCharacteristics() |
|
Boolean |
getDefaultRendition() |
|
Boolean |
getForced() |
|
String |
getGroupId() |
|
String |
getInstreamId() |
|
String |
getLanguage() |
|
String |
getName() |
|
TagModelMedia.Type |
getType() |
|
java.net.URI |
getUri() |
|
String |
getUriStr() |
|
int |
hashCode() |
|
boolean |
isMediaSegmentTag() |
|
boolean |
isValid(Integer version) |
|
void |
setAssociatedLanguage(String associatedLanguage) |
|
void |
setAutoselect(Boolean autoselect) |
|
void |
setCharacteristics(String characteristics) |
|
void |
setDefaultRendition(Boolean defaultRendition) |
|
void |
setForced(Boolean forced) |
|
void |
setGroupId(String groupId) |
|
void |
setInstreamId(String instreamId) |
|
void |
setLanguage(String language) |
|
void |
setName(String name) |
|
void |
setType(TagModelMedia.Type type) |
|
void |
setUri(java.net.URI uri) |
|
void |
setUriStr(String uri) |
|
String |
toString() |
|
boolean |
validForMasterPlaylist() |
|
boolean |
validForMediaPlaylist() |
|
void |
write(TagWriter writer) |
getDebugLog, logDebug, logError, logError, logError, logInfo, logWarn, setDebugLog, setUseSystemOut, usingSystemOutaddAllAttributes, addAttribute, clone, equals, findTags, formatAttributes, formatBoolean, formatBooleanAttribute, formatDoubleAttribute, formatEnumAttribute, formatFloat, formatFloatAttribute, formatInteger, formatIntegerAttribute, formatLong, formatLongAttribute, formatQuotedStringAttribute, formatString, formatUnquotedStringAttribute, formatValue, getContextStr, getTag, getTagName, getUnknownAttributes, setContextStrpublic TagModelMedia()
public TagModelMedia(TagModelMedia.Type type, String groupId, String name, String instreamId, String uri, String language, String associatedLanguage, Boolean defaultRendition, Boolean autoselect, Boolean forced, String characteristics)
public String getAssociatedLanguage()
public Boolean getAutoselect()
public String getCharacteristics()
public Boolean getDefaultRendition()
public Boolean getForced()
public String getGroupId()
public String getInstreamId()
public String getLanguage()
public String getName()
public TagModelMedia.Type getType()
public java.net.URI getUri()
public String getUriStr()
public boolean isMediaSegmentTag()
isMediaSegmentTag in class TagModelpublic void setAssociatedLanguage(String associatedLanguage)
associatedLanguage - the associatedLanguage to setpublic void setAutoselect(Boolean autoselect)
autoselect - the autoselect to setpublic void setCharacteristics(String characteristics)
characteristics - the characteristics to setpublic void setDefaultRendition(Boolean defaultRendition)
defaultRendition - the defaultRendition to setpublic void setForced(Boolean forced)
forced - the forced to setpublic void setGroupId(String groupId)
groupId - the groupId to setpublic void setInstreamId(String instreamId)
instreamId - the instreamId to setpublic void setLanguage(String language)
language - the language to setpublic void setName(String name)
name - the name to setpublic void setType(TagModelMedia.Type type)
type - the type to setpublic void setUri(java.net.URI uri)
uri - the uri to setpublic void setUriStr(String uri)
uri - the uri to setpublic boolean validForMasterPlaylist()
validForMasterPlaylist in class TagModelpublic boolean validForMediaPlaylist()
validForMediaPlaylist in class TagModel