org.weblab_project.core.model
Class Segment
java.lang.Object
org.weblab_project.core.model.Resource
org.weblab_project.core.model.Segment
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- LinearSegment, SpatialSegment, TemporalSegment
public abstract class Segment
- extends Resource
- implements java.io.Serializable
A segment is a resource that should not have any content and which is linked to a media unit. It allows describing the content of a unit with at much finer level. The segment could be
annotated as it inherits from resource. It provides a way to assign annotation on a very high level of structure description without adding weight to the model by transporting the
data.
The object will contain positioning information which allows localising itself in the parent unit. As media type are very different the position itself will be specialised to them and
thus provide localisation adapted to the media.
This object cannot be used itself (this is an abstract object). However, some implementations with real capabilities must be developed in order to match every media class. A class of
media stands here for a list of segments which can be localised in the same manner. For example, a text section can be described in the same way as a video segment: both of them need a
start and stop index, one referring to character index and the other to a temporal reference.
Data Exchange Model for WebLab platform provided by EADS Core package - Version 1.1 - 2009/05
Java class for segment complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="segment">
<complexContent>
<extension base="{http://weblab-project.org/core/model/}resource">
</extension>
</complexContent>
</complexType>
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Segment
public Segment()
Copyright © 2004-2010. All Rights Reserved.