Interface MultimediaContent<T extends MultimediaContentType>
- All Superinterfaces:
org.opencastproject.mediapackage.XmlElement
- All Known Implementing Classes:
MultimediaContentImpl
public interface MultimediaContent<T extends MultimediaContentType>
extends org.opencastproject.mediapackage.XmlElement
TODO: Comment me!
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumMultimedia content type definitions. -
Method Summary
Modifier and TypeMethodDescriptionelements()Returns the content elements that are enclosed in a multimedia content container.getElementById(String id) Returns the content element with the given identifier ornullif element does not exist.getType()Returns the multimedia content type.intsize()Returns the number of content elements.Methods inherited from interface org.opencastproject.mediapackage.XmlElement
toXml
-
Method Details
-
getType
MultimediaContent.Type getType()Returns the multimedia content type.- Returns:
- the type
-
elements
Returns the content elements that are enclosed in a multimedia content container.- Returns:
- the multimedia content elements
-
getElementById
Returns the content element with the given identifier ornullif element does not exist.- Parameters:
id- the element identifier- Returns:
- the content element
-
size
int size()Returns the number of content elements.- Returns:
- the number of content elements
-