|
SMILA (incubation) API documentation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.smila.search.utils.searchresult.DHighLighted
public class DHighLighted
Data structure for a highlighting value.
Constructor Summary | |
---|---|
DHighLighted()
Default Constructor. |
|
DHighLighted(java.lang.String text,
int score)
Conversion Constructor. |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
int |
getScore()
Returns the score. |
java.lang.String |
getText()
Returns the text. |
void |
setScore(int score)
Sets the score. |
void |
setText(java.lang.String text)
Sets the text. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DHighLighted()
public DHighLighted(java.lang.String text, int score)
text
- the text to highlightscore
- the score of the textMethod Detail |
---|
public java.lang.Object clone()
clone
in class java.lang.Object
public int getScore()
public java.lang.String getText()
public void setScore(int score)
score
- the scorepublic void setText(java.lang.String text)
text
- the textpublic java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
SMILA (incubation) API documentation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |