public abstract class MarkPos
extends Object
implements Cloneable
Created: Dec 14, 2004
Constructor and Description |
---|
MarkPos() |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Make an exact copy of this object
|
abstract int |
countTextTo(MarkPos other)
Counts the number of characters of text starting at this position
and ending at another position.
|
abstract String |
getTextTo(MarkPos other)
Retrieves all the text starting at this position and ending at another
position.
|
abstract int |
wordPos()
Retrieves the absolute position (in number of words) from the start
of the document or field.
|
public Object clone()
clone
in class Object
public abstract int wordPos()
public abstract int countTextTo(MarkPos other)
public abstract String getTextTo(MarkPos other)