|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compass.core.impl.DefaultCompassHit
public class DefaultCompassHit
| Constructor Summary | |
|---|---|
DefaultCompassHit(CompassHitsOperations compassHits,
int hitNumber)
|
|
| Method Summary | |
|---|---|
String |
getAlias()
Returns the alias value of the hit. |
Object |
getData()
Returns the object for this hit. |
CompassHighlightedText |
getHighlightedText()
Returns a cached highlighted text the maps to the hit. |
Resource |
getResource()
Returns the Resource for this hit. |
float |
getScore()
Returns the score for this hit. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
DefaultCompassHit(CompassHitsOperations compassHits,
int hitNumber)
| Method Detail |
|---|
public Object getData()
CompassHit
getData in interface CompassHitCompassHitsOperations.data(int)
public Resource getResource()
throws CompassException
CompassHitResource for this hit.
getResource in interface CompassHitResource of the hit.
CompassExceptionCompassHitsOperations.resource(int)
public float getScore()
throws CompassException
CompassHit
getScore in interface CompassHitCompassExceptionCompassHitsOperations.score(int)
public CompassHighlightedText getHighlightedText()
throws CompassException
CompassHitCompassHighlighter
using CompassHits.highlighter(int).
getHighlightedText in interface CompassHitCompassException
public String getAlias()
throws CompassException
CompassHit
getAlias in interface CompassHitCompassException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||