Class SpatioTemporalLocatorImpl
java.lang.Object
org.opencastproject.metadata.mpeg7.SpatioTemporalLocatorImpl
- All Implemented Interfaces:
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.Returns an xml node representation of this element.
-
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
Returns an xml node representation of this element.- Specified by:
toXmlin interfaceXmlElement- Parameters:
document- the enclosing xml document- Returns:
- the xml node
- See Also:
-