|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.help.search.SearchItem
A SearchItem corresponds to one specific item found in a search query. SearchItems are used in the default Search navigator.
SearchTOCItem,
SearchEvent,
SearchListener| Constructor Summary | |
SearchItem(java.net.URL base,
java.lang.String title,
java.lang.String lang,
java.lang.String filename,
double confidence,
int begin,
int end,
java.util.Vector concepts)
Constructs a SearchItem |
|
| Method Summary | |
java.net.URL |
getBase()
Gets the base of the SearchItem. |
int |
getBegin()
Gets the begin pointer position for the hit. |
java.util.Enumeration |
getConcepts()
If there are "concepts" against which the query is made, this is an enumeration of the concepts. |
double |
getConfidence()
Gets the confidence value for the hit. |
int |
getEnd()
Gets the ending pointer position. |
java.lang.String |
getFilename()
Gets the spec (as a URL relative to getBase() ) to the document. |
java.lang.String |
getLang()
Gets the lang of the SearchItem. |
java.lang.String |
getTitle()
Gets the title of the SearchItem. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public SearchItem(java.net.URL base,
java.lang.String title,
java.lang.String lang,
java.lang.String filename,
double confidence,
int begin,
int end,
java.util.Vector concepts)
base - The URL to the base from which file is a spec.title - Title of the itemlang - A string representation of the locale. A null lang is valid
and represents the default locale.filename - FileName for the item.confidence - How closely this matches the params.begin - Starting position where the (requested) match has been found.end - Ending position.concepts - A vector of concepts.| Method Detail |
public java.net.URL getBase()
public java.lang.String getTitle()
public java.lang.String getLang()
public java.lang.String getFilename()
public double getConfidence()
public int getBegin()
public int getEnd()
public java.util.Enumeration getConcepts()
public java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||