Class TagModelMedia
- Object
-
- com.wowza.wms.manifest.model.ManifestModelLogging
-
- com.wowza.wms.manifest.model.m3u8.tag.TagModel
-
- com.wowza.wms.manifest.model.m3u8.tag.TagModelMedia
-
- All Implemented Interfaces:
Cloneable
public class TagModelMedia extends TagModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TagModelMedia.Type
name: type format: enumerated-string status: REQUIRED
-
Field Summary
-
Fields inherited from class com.wowza.wms.manifest.model.m3u8.tag.TagModel
attributes, tagName
-
-
Constructor Summary
Constructors 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)
-
Method Summary
All Methods Instance Methods Concrete Methods 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)
-
Methods inherited from class com.wowza.wms.manifest.model.m3u8.tag.TagModel
addAllAttributes, addAttribute, clone, equals, findTags, formatAttributes, formatBoolean, formatBooleanAttribute, formatDoubleAttribute, formatEnumAttribute, formatFloat, formatFloatAttribute, formatInteger, formatIntegerAttribute, formatLong, formatLongAttribute, formatQuotedStringAttribute, formatString, formatUnquotedStringAttribute, formatValue, getContextStr, getTag, getTagName, getUnknownAttributes, setContextStr
-
Methods inherited from class com.wowza.wms.manifest.model.ManifestModelLogging
getDebugLog, logDebug, logError, logError, logError, logInfo, logWarn, setDebugLog, setUseSystemOut, usingSystemOut
-
-
-
-
Constructor Detail
-
TagModelMedia
public TagModelMedia()
-
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)
-
-
Method Detail
-
getType
public TagModelMedia.Type getType()
- Returns:
- the type
-
setType
public void setType(TagModelMedia.Type type)
- Parameters:
type
- the type to set
-
getGroupId
public String getGroupId()
- Returns:
- the groupId
-
setGroupId
public void setGroupId(String groupId)
- Parameters:
groupId
- the groupId to set
-
getName
public String getName()
- Returns:
- the name
-
setName
public void setName(String name)
- Parameters:
name
- the name to set
-
getInstreamId
public String getInstreamId()
- Returns:
- the instreamId
-
setInstreamId
public void setInstreamId(String instreamId)
- Parameters:
instreamId
- the instreamId to set
-
getUri
public java.net.URI getUri()
- Returns:
- the uri
-
setUri
public void setUri(java.net.URI uri)
- Parameters:
uri
- the uri to set
-
getUriStr
public String getUriStr()
- Returns:
- the uri
-
setUriStr
public void setUriStr(String uri)
- Parameters:
uri
- the uri to set
-
getLanguage
public String getLanguage()
- Returns:
- the language
-
setLanguage
public void setLanguage(String language)
- Parameters:
language
- the language to set
-
getAssociatedLanguage
public String getAssociatedLanguage()
- Returns:
- the associatedLanguage
-
setAssociatedLanguage
public void setAssociatedLanguage(String associatedLanguage)
- Parameters:
associatedLanguage
- the associatedLanguage to set
-
getDefaultRendition
public Boolean getDefaultRendition()
- Returns:
- the defaultRendition
-
setDefaultRendition
public void setDefaultRendition(Boolean defaultRendition)
- Parameters:
defaultRendition
- the defaultRendition to set
-
getAutoselect
public Boolean getAutoselect()
- Returns:
- the autoselect
-
setAutoselect
public void setAutoselect(Boolean autoselect)
- Parameters:
autoselect
- the autoselect to set
-
getForced
public Boolean getForced()
- Returns:
- the forced
-
setForced
public void setForced(Boolean forced)
- Parameters:
forced
- the forced to set
-
getCharacteristics
public String getCharacteristics()
- Returns:
- the characteristics
-
setCharacteristics
public void setCharacteristics(String characteristics)
- Parameters:
characteristics
- the characteristics to set
-
validForMasterPlaylist
public boolean validForMasterPlaylist()
- Specified by:
validForMasterPlaylist
in classTagModel
-
validForMediaPlaylist
public boolean validForMediaPlaylist()
- Specified by:
validForMediaPlaylist
in classTagModel
-
write
public void write(TagWriter writer) throws java.io.IOException
-
isMediaSegmentTag
public boolean isMediaSegmentTag()
- Specified by:
isMediaSegmentTag
in classTagModel
-
-