|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.knowcenter.wag.egov.egiz.framework.FoundKey
public class FoundKey
Holds the information of one found key.
Field Summary | |
---|---|
String |
caption
The caption of the key. |
String |
key
The type of the key. |
int |
start_index
The start index of the caption in the text. |
Constructor Summary | |
---|---|
FoundKey(String key,
String caption,
int start_index)
|
Method Summary | |
---|---|
String |
getKey()
Returns the key. |
int |
getStartIndex()
Returns the start_index. |
boolean |
isSemanticallyEqual(FoundKey other_found_key)
Tells, if this FoundKey is semantically equal to the other FoundKey. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public String key
public String caption
public int start_index
Constructor Detail |
---|
public FoundKey(String key, String caption, int start_index)
key
- The type of the key.caption
- The caption of the key.start_index
- The start index of the caption in the text.Method Detail |
---|
public String getKey()
public int getStartIndex()
public String toString()
toString
in class Object
Object.toString()
public boolean isSemanticallyEqual(FoundKey other_found_key)
Two FoundKeys are semantically equal if their key and caption are the same.
other_found_key
- The other FoundKey.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |