|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gate.creole.annic.apache.lucene.search.Explanation
public class Explanation
Expert: Describes the score computation for document and query.
Constructor Summary | |
---|---|
Explanation()
|
|
Explanation(float value,
String description)
|
Method Summary | |
---|---|
void |
addDetail(Explanation detail)
Adds a sub-node to this explanation node. |
String |
getDescription()
A description of this explanation node. |
Explanation[] |
getDetails()
The sub-nodes of this explanation node. |
float |
getValue()
The value assigned to this explanation node. |
void |
setDescription(String description)
Sets the description of this explanation node. |
void |
setValue(float value)
Sets the value assigned to this explanation node. |
String |
toHtml()
Render an explanation as HTML. |
String |
toString()
Render an explanation as text. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Explanation()
public Explanation(float value, String description)
Method Detail |
---|
public float getValue()
public void setValue(float value)
public String getDescription()
public void setDescription(String description)
public Explanation[] getDetails()
public void addDetail(Explanation detail)
public String toString()
toString
in class Object
public String toHtml()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |