public class Text extends Object
<media:text type="plain" lang="en" start="00:00:03.000" end="00:00:10.000"> Oh, say, can you see</media:text> <media:text type="plain" lang="en" start="00:00:10.000" end="00:00:17.000">By the dawn's early light</media:text>
| Constructor and Description |
|---|
Text() |
| Modifier and Type | Method and Description |
|---|---|
String |
getEnd()
Returns the end time that the text is relevant.
|
String |
getLang()
Returns the primary language encapsulated in the media object.
|
String |
getStart()
Returns the start time offset that the text starts being relevant to the media object.
|
String |
getType()
Returns the type of text embedded.
|
String |
getValue()
Returns the text itself.
|
void |
setEnd(String end)
Initializes the end time that the text is relevant.
|
void |
setLang(String lang)
Initializes the primary language encapsulated in the media object.
|
void |
setStart(String start)
Initializes the start time offset that the text starts being relevant to the media object.
|
void |
setType(String type)
Initializes the type of text embedded.
|
void |
setValue(String value)
Initializes the text itself.
|
public String getValue()
null if not yet initialized.setValue(java.lang.String)public void setValue(String value)
value - the text. Shall not be null.NullPointerException - if value is null.getValue()public String getType()
null.setType(java.lang.String)public void setType(String type)
type - the type of text. May be null.getType()public String getLang()
null.setLang(java.lang.String)public void setLang(String lang)
lang - a language code. May be null.getLang()public String getStart()
Thumbnail.getTime()).null.setStart(java.lang.String)public void setStart(String start)
start - a time offset. May be null.getStart()public String getEnd()
null.setEnd(java.lang.String)Copyright © 2008–2017. All rights reserved.