Class SpatioTemporalLocatorImpl
java.lang.Object
org.opencastproject.metadata.mpeg7.SpatioTemporalLocatorImpl
- All Implemented Interfaces:
org.opencastproject.mediapackage.XmlElement,SpatioTemporalLocator
Default implementation of the media time.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new spatio temporal locator. -
Method Summary
Modifier and TypeMethodDescriptionReturns the locator's time and duration.voidsetMediaTime(MediaTime time) Sets the media time.
-
Field Details
-
mediaTime
The media time
-
-
Constructor Details
-
SpatioTemporalLocatorImpl
Creates a new spatio temporal locator.- Parameters:
time- the time
-
-
Method Details
-
setMediaTime
Sets the media time.- Specified by:
setMediaTimein interfaceSpatioTemporalLocator- Parameters:
time- the time- See Also:
-
getMediaTime
Returns the locator's time and duration.- Specified by:
getMediaTimein interfaceSpatioTemporalLocator- Returns:
- the media time
- See Also:
-
toXml
- Specified by:
toXmlin interfaceorg.opencastproject.mediapackage.XmlElement- See Also:
-