|
Lizzy v1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object christophedelory.rss.media.Text
public class Text
Allows the inclusion of a text transcript, closed captioning, or lyrics of the media content.
Many of these elements are permitted to provide a time series of text.
In such cases, it is encouraged, but not required, that the elements be grouped by language and appear in time sequence order based on the start time.
Elements can have overlapping start and end times.
Examples:
<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 Summary | |
---|---|
Text()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Text()
Method Detail |
---|
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)
public void setEnd(String end)
end
- a time offset. May be null
.getEnd()
|
© 2008-2009 Christophe Delory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |