|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gate.creole.gazetteer.NodePosition
public class NodePosition
Title: NodePosition.java
Description: This class is used to store the information about the changes in the text and the addition or the subtraction of the spaces. It is used by FlexibleGazetteer.
Constructor Summary | |
---|---|
NodePosition(long osn,
long oen,
long nsn,
long nen)
constructor |
Method Summary | |
---|---|
long |
getNewEndOffset()
Returns the new end offset |
long |
getNewStartOffset()
Returns new start offset |
long |
getOriginalEndOffset()
Returns the old end offset |
long |
getOriginalStartOffset()
Returns the old start offset |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NodePosition(long osn, long oen, long nsn, long nen)
osn
- - old start offsetoen
- - old end offsetnsn
- - new start offsetnen
- - new end offsetMethod Detail |
---|
public long getOriginalStartOffset()
public long getOriginalEndOffset()
public long getNewStartOffset()
public long getNewEndOffset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |