|
GATE Version 3.1-2270 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgate.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 substraction of the spaces. It is used by FlexibleGazetteer.
Constructor Summary | |
---|---|
NodePosition()
Constructor |
|
NodePosition(long osn,
long oen,
long nsn,
long nen,
long space)
constructor |
Method Summary | |
---|---|
long |
getDeductedSpaces()
Returns the total deducted spaces |
long |
getNewEndNode()
Returns the new end offset |
long |
getNewStartNode()
Returns new start offset |
long |
getOldEndNode()
Returns the old end offset |
long |
getOldStartNode()
Returns the old start offset |
void |
setDeductedSpaces(long space)
Sets the deducted spaces |
void |
setNewEndNode(long node)
Sets the new end offset |
void |
setNewStartNode(long node)
sets the new start offset |
void |
setOldEndNode(long node)
Sets the old end offset |
void |
setOldStartNode(long node)
Sets 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()
public NodePosition(long osn, long oen, long nsn, long nen, long space)
osn
- - old start offsetoen
- - old end offsetnsn
- - new start offsetnen
- - new end offsetspace
- - total deducted spaces due to change in the text before
the start offset in the documentMethod Detail |
---|
public long getOldStartNode()
public long getOldEndNode()
public long getNewStartNode()
public long getNewEndNode()
public void setOldStartNode(long node)
node
- public void setOldEndNode(long node)
node
- public void setNewStartNode(long node)
node
- public void setNewEndNode(long node)
node
- public void setDeductedSpaces(long space)
space
- public long getDeductedSpaces()
|
GATE Version 3.1-2270 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |