Interface SmilMediaElement
-
- All Superinterfaces:
SmilMediaObject,SmilObject
public interface SmilMediaElement extends SmilMediaObject
Represent a media element likeaudio,video,...
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSmilMediaElement.MediaTypeSMIL media element type.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetClipBegin()Returns clip start position.longgetClipBeginMS()Returns clip start position in milliseconds.StringgetClipEnd()Returns clip end position.longgetClipEndMS()Returns clip end position in milliseconds.SmilMediaElement.MediaTypegetMediaType()Returns media element type.StringgetParamGroup()Returns SmilMediaParamGroup Id given with this element.List<SmilMediaParam>getParams()ReturnsSmilMediaParams for this media element.URIgetSrc()Returns media source URI.-
Methods inherited from interface org.opencastproject.smil.entity.media.api.SmilMediaObject
isContainer
-
Methods inherited from interface org.opencastproject.smil.entity.api.SmilObject
getId
-
-
-
-
Method Detail
-
getClipBegin
String getClipBegin()
Returns clip start position.- Returns:
- the clipBegin
-
getClipEnd
String getClipEnd()
Returns clip end position.- Returns:
- the clipEnd
-
getMediaType
SmilMediaElement.MediaType getMediaType()
Returns media element type.- Returns:
- this media element type
-
getParamGroup
String getParamGroup()
Returns SmilMediaParamGroup Id given with this element.- Returns:
- the paramGroup Id
-
getParams
List<SmilMediaParam> getParams()
ReturnsSmilMediaParams for this media element. TheListis immutable, use SmilService to modify it.- Returns:
- the
ListwithSmilMediaParams
-
getSrc
URI getSrc()
Returns media source URI.- Returns:
- the media src URI
-
getClipBeginMS
long getClipBeginMS() throws SmilExceptionReturns clip start position in milliseconds.- Returns:
- clip start position in milliseconds
- Throws:
SmilException- if clip begin position can't parsed.
-
getClipEndMS
long getClipEndMS() throws SmilExceptionReturns clip end position in milliseconds.- Returns:
- clip end position in milliseconds
- Throws:
SmilException- if clip end position can't parsed.
-
-