public class TextPositionSelector extends Selector
| Constructor and Description |
|---|
TextPositionSelector()
Standard constructor.
|
TextPositionSelector(long start,
long end)
Constructor setting the start and end variables.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getEnd()
Gets Refers to http:www.w3.orgnsoa#end
The end position of the segment of text.
|
long |
getStart()
Gets Refers to http:www.w3.orgnsoa#start
The starting position of the segment of text.
|
void |
setEnd(long end)
Sets new Refers to http:www.w3.orgnsoa#end
The end position of the segment of text.
|
void |
setStart(long start)
Sets new Refers to http:www.w3.orgnsoa#start
The starting position of the segment of text.
|
getObjectConnection, getResource, setResourcepublic TextPositionSelector()
public TextPositionSelector(long start,
long end)
start - Specifies the startposition in the text.end - Specifies the endposition in the text.public long getStart()
public void setEnd(long end)
end - New value of Refers to http:www.w3.orgnsoa#end
The end position of the segment of text. The last character is not included within the segment.
Each TextPositionSelector must have exactly 1 oa:end property..public void setStart(long start)
start - New value of Refers to http:www.w3.orgnsoa#start
The starting position of the segment of text. The first character in the full text is character position 0, and the character is included within the segment.
Each TextPositionSelector must have exactly 1 oa:start property..public long getEnd()
Copyright © 2015 Chair of Distributed Information Systems - University of Passau. All rights reserved.