Class SmilMediaParamImpl
java.lang.Object
org.opencastproject.smil.entity.SmilObjectImpl
org.opencastproject.smil.entity.media.param.SmilMediaParamImpl
- All Implemented Interfaces:
SmilObject,SmilMediaParam
SmilMediaParam implementation.-
Field Summary
Fields inherited from interface org.opencastproject.smil.entity.media.param.api.SmilMediaParam
PARAM_NAME_TRACK, PARAM_NAME_TRACK_FLAVOR, PARAM_NAME_TRACK_ID, PARAM_NAME_TRACK_SRC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetElementOrNull(String elementId) Returns element with given elementId or null.protected StringReturnsSmilObjectId prefix (must begin with alphanumeric charackter).getName()Returns param name.getValue()Returns param value.voidputAllChilds(List<SmilObject> elements) Put all containing elements intoListgiven as parameter.removeElement(String elementId) Remove element with given Id and returns it.protected voidSet param name.voidSet param value.Methods inherited from class org.opencastproject.smil.entity.SmilObjectImpl
getIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opencastproject.smil.entity.api.SmilObject
getId
-
Constructor Details
-
SmilMediaParamImpl
Constructor.- Parameters:
name- param namevalue- param value
-
-
Method Details
-
getName
Returns param name.- Specified by:
getNamein interfaceSmilMediaParam- Returns:
- the name
-
setName
Set param name.- Parameters:
name- the name to set
-
getValue
Returns param value.- Specified by:
getValuein interfaceSmilMediaParam- Returns:
- the value
-
setValue
Set param value.- Parameters:
value- the value to set
-
getIdPrefix
ReturnsSmilObjectId prefix (must begin with alphanumeric charackter).- Specified by:
getIdPrefixin classSmilObjectImpl- Returns:
- Id prefix
-
removeElement
Remove element with given Id and returns it. Returns null if there is no element with given Id.- Specified by:
removeElementin classSmilObjectImpl- Parameters:
elementId- element Id- Returns:
- removed element or null
-
getElementOrNull
Returns element with given elementId or null.- Specified by:
getElementOrNullin classSmilObjectImpl- Parameters:
elementId- element Id- Returns:
- element with given elementId or null
-
putAllChilds
Put all containing elements intoListgiven as parameter.- Specified by:
putAllChildsin classSmilObjectImpl- Parameters:
elements-Listwhere to pul child elements to
-