|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.weblab_project.core.model.Resource
org.weblab_project.core.model.Segment
org.weblab_project.core.model.text.LinearSegment
public class LinearSegment
A linear segment is a position which can be described by a start and stop reference in accordance to a number of UTF-8 characters metric. It is the kind of segment that should be used for text units. As a resource, linear segments could be annotated to provide. This should be done to provide information on a particular part a text, like a word for instance. Data Exchange Model for WebLab platform provided by EADS Text package - Version 1.1 - 2009/05
Java class for linearSegment complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="linearSegment"> <complexContent> <extension base="{http://weblab-project.org/core/model/}segment"> <sequence> <element name="start" type="{http://www.w3.org/2001/XMLSchema}int"/> <element name="end" type="{http://www.w3.org/2001/XMLSchema}int"/> </sequence> </extension> </complexContent> </complexType>
Field Summary | |
---|---|
protected int |
end
|
protected int |
start
|
Fields inherited from class org.weblab_project.core.model.Resource |
---|
annotation, descriptor, uri |
Constructor Summary | |
---|---|
LinearSegment()
|
Method Summary | |
---|---|
int |
getEnd()
Gets the value of the end property. |
int |
getStart()
Gets the value of the start property. |
void |
setEnd(int value)
Sets the value of the end property. |
void |
setStart(int value)
Sets the value of the start property. |
Methods inherited from class org.weblab_project.core.model.Resource |
---|
getAnnotation, getDescriptor, getUri, setUri |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int start
protected int end
Constructor Detail |
---|
public LinearSegment()
Method Detail |
---|
public int getStart()
public void setStart(int value)
public int getEnd()
public void setEnd(int value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |