Interface SpatioTemporalLocator
- All Superinterfaces:
XmlElement
- All Known Implementing Classes:
SpatioTemporalLocatorImpl
This locator specifies elements in time and space.
<complexType name="SpatioTemporalLocatorType" final="#all">
<sequence>
<element name="CoordRef" minOccurs="0">
<complexType>
<attribute name="ref" type="IDREF" use="required"/>
<attribute name="spatialRef" type="boolean" use="required"/>
</complexType>
</element>
<choice maxOccurs="unbounded">
<element name="FigureTrajectory" type="mpeg7:FigureTrajectoryType"/>
<element name="ParameterTrajectory" type="mpeg7:ParameterTrajectoryType"/>
<element name="MediaTime" type="mpeg7:MediaTimeType"/>
</choice>
</sequence>
</complexType>
-
Method Summary
Modifier and TypeMethodDescriptionReturns the locator's time and duration.voidsetMediaTime(MediaTime time) Sets the media time.Methods inherited from interface org.opencastproject.mediapackage.XmlElement
toXml
-
Method Details
-
setMediaTime
Sets the media time.- Parameters:
time- the time
-
getMediaTime
MediaTime getMediaTime()Returns the locator's time and duration.- Returns:
- the media time
-