org.ow2.weblab.core.model
Class Segment
java.lang.Object
org.ow2.weblab.core.model.Segment
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- LinearSegment, SpatialSegment, TemporalSegment
public abstract class Segment
- extends java.lang.Object
- 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
willcontain positioning information which allows localising itself
in the parent unit. As media type are very different the position
itself will be specialised to them andthus 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 CASSIDIAN - Version 1.2 - 2010/08
Java class for Segment complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Segment">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="uri" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
</restriction>
</complexContent>
</complexType>
- See Also:
- Serialized Form
Field Summary |
protected java.lang.String |
uri
|
Method Summary |
java.lang.String |
getUri()
Gets the value of the uri property. |
void |
setUri(java.lang.String value)
Sets the value of the uri property. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
uri
protected java.lang.String uri
Segment
public Segment()
getUri
public java.lang.String getUri()
- Gets the value of the uri property.
- Returns:
- possible object is
String
setUri
public void setUri(java.lang.String value)
- Sets the value of the uri property.
- Parameters:
value
- allowed object is
String
Copyright © 2004-2010. All Rights Reserved.